Problem

In this hands-on project, you configure and use the Very Secure FTP daemon. 1. Switch t...

In this hands-on project, you configure and use the Very Secure FTP daemon.

1. Switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of secret.

2. At the command prompt, type cp /etc/hosts /var/ftp ; chmod 444 /var/ftp/hosts and press Enter to copy the file /etc/hosts to the /var/ftp directory and ensure that everyone has read permission to it.

3. At the command prompt, type service vsftpd start and press Enter to start the Very Secure FTP daemon.

4. At the command prompt, type chkconfig --level 5 vsftpd on and press Enter to ensure that the Very Secure FTP daemon is started when the system enters runlevel 5.

5. At the command prompt, type ftp localhost and press Enter. Log in as user1 using the password of secret when prompted.

6. At the ftp> prompt, type dir and press Enter to list the contents of the /home/user1 directory.

7. At the ftp> prompt, type lcd /etc and press Enter to change the current working directory on the FTP client to /etc.

8. At the ftp> prompt, type put inittab and press Enter to upload the inittab file to the remote FTP server.

9. At the ftp> prompt, type dir and press Enter to list the contents of the /home/user1 directory. Was the inittab file uploaded successfully?

10. At the ftp> prompt, type lcd / and press Enter to change the current working directory on the FTP client to /.

11. At the ftp> prompt, type get inittab and press Enter to download the inittab file to the / directory on the local computer.

12. At the ftp> prompt, type help and press Enter to list the commands available within the FTP client program.

13. At the ftp> prompt, type bye and press Enter to exit the FTP client program.

14. At the command prompt, type ls / and press Enter. Was the inittab file downloaded to the / directory successfully?

15. At the command prompt, type ftp localhost and press Enter. Log in as anonymous using the password of nothing when prompted (the actual password is not relevant for the anonymous user; you could use any password).

16. At the ftp> prompt, type dir and press Enter to list the contents of the /var/ftp directory.

17. At the ftp> prompt, type lcd / and press Enter to change the current working directory on the FTP client to /.

18. At the ftp> prompt, type get hosts and press Enter to download the hosts file to the /directory on the local computer.

19. At the ftp> prompt, type bye and press Enter to exit the FTP client program.

20. At the command prompt, type ls / and press Enter. Was the hosts file downloaded to the / directory successfully?

21. At the command prompt, type ftp localhost and press Enter. Log in as the root user with the password of secret when prompted. What error did you receive?

22. At the ftp> prompt, type bye and press Enter to exit the FTP client program.

23. Edit the /etc/vsftpd/ftpusers and /etc/vsftpd/user_list files with a text editor and remove the following line: root

When finished, save your changes and quit the editor.

24. At the command prompt, type service vsftpd restart and press Enter to restart the Very Secure FTP daemon.

25. At the command prompt, type ftp localhost and press Enter. Log in as the root user with the password of secret when prompted.

26. At the ftp> prompt, type dir and press Enter to list the contents of the /root directory.

27. At the ftp> prompt, type bye and press Enter to exit the FTP client program.

28. Type exit and press Enter to log out of your shell.

29. Switch to the gdm by pressing Ctrl+Alt+F2 or Ctrl+Alt+F7 and log in to the GNOME Desktop Environment as sample user one with the password of secret.

30. Open the Firefox Web browser, enter the location ftp://server1.class.com, and press Enter. What directory are you placed in and why?

31. Enter the location ftp://root:[email protected] in the Firefox Web browser and press Enter. What directory are you placed in and why?

32. Close the Firefox Web browser and log out of the GNOME Desktop Environment.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 13