In Linux, the installation and running of Telnet in linux use the SSH service by default, instead of the telnet service. If you want to use telnet, you must first install the corresponding software package, even if the default setting of telnet service is installed. if the task is not running, you need to manually set it if it is redhat9, find the telnet-server-0.17-25.i386.rpm on the third disc and copy it to the server, then run the rpm-ivh telnet-server-0.17-25.i386.rpm to install Vi/etc/xinetd. d/telnet change this item to disable = no service xinetd restart to restart the service. For security reasons, the root user is prohibited from logging on to www.2cto.com linux Through telnet by default. If you must use root telnet, modify/etc/securetty, add pts/0 pts/1 so that the root user can log on remotely ====================== ============= [Article 2] 1. Check whether rpm-qa | grep telnet-serverrpm-qa | grep telnet-client is installed. If no, use the installation disk rpm-ivh telnet-serverrpm-ivh telnet-client 2. Enable TELNET Service 1. ntsysv www.2cto.com select telnet and restart the computer 2.vi/etc/xined. d/telnetdisable = yes to noservice xinetd restart 3. Set the telnet port vi/etc/services telnet 23/tcptelnet 23/udp to change 23 to another one, for example, 2000 and then service xinetd restart or/etc/init. d/xinetd status 4. Restrict telnetvi/etc/xinetd. d/telnetservice telnet {disable = noind = 192.168.1.100 # considering that the server has multiple IP addresses, set the IP address of the local telnet server here, remotely, only telnet #192.168.1.100 can access only_from = 192.168.1.0/32 # Only 192.168.1.0-192.168.1.255 can access this network segment only_from = .edu.cn # Only CERNET can access! O_access = 192.168.1. {4.5} # restrict the access from IP addresses 192.168.1.4 and 192.168.1.5 to access_times =--# only allow the use of telnet service in these two periods} www.2cto.com 5. Root logon is not allowed by default. The following is the modification method vi/etc/pam. d/loginauth require pam_securetty.so to # auth require pam_securetty.so or mv/etc/securetty. author of bak xuhongwei0411