Problem

In this hands-on project, you install and configure the Internet Super Daemon as well as...

In this hands-on project, you install and configure the Internet Super Daemon as well as the telnet and r command daemons. Next, you perform remote administration on your local computer using telnet and the r commands.

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 telnet localhost and press Enter. What error did you receive? Why?

3. At the command prompt, type yum install xinetd telnet-server rsh-server and press Enter. Type y and press Enter when prompted to confirm the downloads.

4. Edit the /etc/xinetd.d/telnet file with a text editor such as vi and change the line that reads:

disable = yes

to

disable = no

When finished, save your changes and quit the editor. Repeat this step for the /etc/xinetd.d/rlogin and /etc/xinetd.d/rsh files.

5. At the command prompt, type service xinetd start and press Enter to start the Internet Super Daemon. Next, type chkconfig --level 5 xinetd on to ensure that the Internet Super Daemon is started in runlevel 5.

6. At the command prompt, type telnet localhost and press Enter. Why were you successful? Next, log in to the system using the user name of root and the password of secret when prompted. Were you successful? What error message did you receive? Wait one minute for the telnet utility to close.

7. At the command prompt, type rm –f /etc/securetty and press Enter.

8. At the command prompt, type telnet localhost and press Enter. Next, log in to the system using the user name of root and the password of secret when prompted. Were you successful? Why?

9. At the command prompt, type date and press Enter. Next, type who at the command prompt and press Enter. Given the output of these commands, can you tell which terminal you are using?

10. Type exit and press Enter to log out of your shell. Which shell were you logged out of? Next, type who at the command prompt and press Enter. How can you tell that the telnet session has been closed?

11. At the command prompt, type echo localhost >> .rhosts and press Enter. What does this command do?

12. At the command prompt, type rlogin localhost and press Enter. Why were you not prompted to log in to the system before obtaining a remote shell?

13. At the command prompt, type who and press Enter. What remote terminal are you using?

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

15. At the command prompt, type rsh localhost mount and press Enter to run the mount command on localhost.

16. At the command prompt, type rcp localhost:/etc/issue localhost:/var/ issue and press Enter to copy the /etc/issue file on localhost to the /var directory on localhost.

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

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 12