1. install the telnet service on the server. for installation instructions, see 2. modify the telnet configuration file and enable the telnet service. (Of course, you can also use the setup command to start the system service and check the telnet service.) 3. restart the telnet service, modify the firewall configuration file, and open port 23 to the client...
1. install the telnet service on the server. for installation instructions, see
2. modify the telnet configuration file and enable the telnet service. (You can also run the setup command to start the system service and check the telnet service)
3. restart the telnet service, modify the firewall configuration file, and open port 23 for client access.
Note:
Use client telnet to log on, and use a common user to log on successfully. The "Login incorrect" logon failure message is displayed when you log on as the root user.
Telnet is not safe. by default, the root user is not allowed to use telnet to access the Linux host. To allow the root user to log on, use the following methods:
[Root @ xzh/root] # vi/etc/pam. d/login
# Auth required pam_securetty.so # add comments to this line!
Or
[Root @ echo root] # mv/etc/securetty. bak
In this way, the root user can directly access the Linux host. However, we recommend that you do not do this. You can also switch to the root user after a common user enters, with the root permission.
Chkconfig -- list can be used to check whether the service is enabled in linux.
This article is from the "Darren-pan" blog