Free Essay

Nt1430 Unit 5 Homework

In:

Submitted By gsbahler
Words 584
Pages 3
Chap 18 Pg 699
Q1 difference between scp and sftp utilities?
SCP is a secure file copy utility and SFTP is a secure file transfer protocol even though it does not have anything to do with the FTP we are use to in windows.
Q2 How can you use SSH to find out who is logged in on a remote system?
By typing $ ssh host who in the terminal window
Q3 How would you use scp to copy ~/.bashrc file from the system named plum to the local system?
From the local system you would type scp user@plum:~/..bashrc local system: .bashrc.
Q4 How would you use scp to run xterm on plum and show the display on the local system?
Having the same username on both systems and the X11 server running locally, the command to run xterm from the plum system and show on the local display is $ ssh plum xterm
Q5 What problem can enabling compression present when you are using ssh to run remote X applications on a local display?
Compression can cause an increase in latency to an extent the might not be desirable for an X session forwarded over high-band width connections.
Q6 When you try to connect to another system using an OpenSSH client and you see a message warning you that the remote host identification has changed, what has happened? What should you do?
This indicates that the fingerprint of the remote system is not the same as the local system remembers it. Check to find out if something changed. If everything is ok, get rid of the remote system’s key from the file located in the error message and try logging in on the remote system using ssh.

Chap 20 pg 757
Q1 By default, email addressed to system goes to root. How would you also save a copy in /var/logs/systemmail?
Edit the /etc/aliases that states: system: root, /var/logs/systemmail Q2 How would max store a copy of his email in ~/mbox and sens a copy to Max@example.com?
$cat ~ Max/ .forward ~/mbox max@bravo.com \max

Q3 If your firewall allowed only the machine with the ip add of 192.168.1.1 to send email outside of the network, how would you instruct the local copy of sendmail to use this server as a relay?

$ cat /etc/mail/access

Connect:192.168 RELAY

Q4 What does dnl stand for in the m4 macro language? What are dnl commands used for?

DNL stands for delete to new line, this token causes m4 to delete from the dnl to the end of the line. You can use this like the # command in the shell script.

Q5 SpamAssassin is installed on your mail server, with the threshold set to an unusually low value of 3, resulting in a lot of false positives. Which rule could you give to your mail client to allow it to identify spam with a score of 5 or higher?

required_score 5.00

Q6 Describe the software and protocols used when Max sends an email to
Sam on a remote Linux system.

a. Max’s MUA passes the email to sendmail.
b. The sendmail daemon uses SMTP to deliver the email to the instance of sendmail on Sam’s system.
c. On Sam’s system, sendmail passes the email to the local MDA (procmail).
d. The MDA stores the email in Sam’s file in the spool directory.
e. Sam’s MDA retrieves the email from the spool directory.

Similar Documents

Free Essay

Nt1430 Linux Networking

...NT1430: Linux Networking Unit 4 Homework Assignment Chapter 14: 1. Which commands can you use from the command line to send a file to the default printer? a. lpoptions –d printer 2. Which command would you give to cancel all print jobs on the system? a. cancel job-id 3. Which commands list your outstanding print jobs? a. lpc status 4. What is the purpose of sharing a Linux printer using Samba? a. Sharing a Linux printer using Samba allows Windows and OS/2 clients to send print jobs to the printer. 5. Name three printing protocols that CUPS supports. Which is the CUPS native protocol? a. 1.) System-config-printer 2.) lpinfo Displays available drivers 3.) lpadmin configures printers b. IPP is the native protocol Chapter 10: 1. Describe the similarities and differences between these utilities: a. Scp and ftp i. SCP stands for Secure Copy Protocol, and FTP is an acronym for the File Transfer Protocol, which was the original file transfer protocol. SCP and FTP are two applications for copying files from one computer to another. Both were based on their own protocols, but both now use different prtocols. b. Ssh and telnet i. Both are text-based protocols: mouse movements cannot be transferred only keystrokes. Both are connection-oriented and are client-server protocols. The main difference is in security. SSH offers security mechanisms that protect the user against anyone with malicious intent while Telnet has no security measures whatsoever. c. Rsh and...

Words: 284 - Pages: 2