LinuxLowerTelnetService installation and configuration
Install the Telnet Service
Step 1: first, load the content of the optical drive and view the image
Step 2: Run Mount/dev/CDROM/mnt/CDROM to load the content of the optical drive to/mnt/CDROM,
Then run the command CD/mnt/CDROM to enter the directory, and run the LS command to finally view the file (because there are many files, the last command is ls | more for split screen display );
Step 3: Use the command CP + file name + target path, such as the operation, to move to the specified directory, and run the LS command to view it, (Remember to use the command umoungt/mnt/CDROM to stop the connection to the optical drive ),
Run the command-rpm-IVH + package name to install the file. (Run the command rpm-Qa | grep telnet to view the installed content .)
In this way, the Telenet service is installed in Linux.
Telnet service configuration
Step 1: run the command CD/etc/xinetd. d To Go To The xinnetd. d directory and run the command ls to view Telnet,
Then run VI telnet to enter the editing status and edit Telnet;
Step 2: Change the disable value to no (originally yes)
Step 3: In the same way, CD/TEC/PAM. D comes to the Pam. d directory, and the vi login command is used to edit the login file;
Step 4: The edited content here is shown in. Add # in the front and run the command: WQ to save and exit the file.
(By default, root does not enable other systems to connect to Linux Through Telnet. The comment here is used to allow the root account to implement Telnet)
Step 5: run the/etc/rc. d/init. d/xinetd restart command to restart the telnet service;
Step 6: go to other systems and use XP in this instance. Start-run the command. Enter cmd and press Enter,
Step 7: Use the command Telnet + linuxip address, as shown in figure
Step 7: connect to Linux remotely and enter the account and password to log on! For example.
In this way, telnet is successfully applied.