Fedora16telnet configuration and enable rootlogin 1. install www.2cto in the software package. com1, # rpm-qtelnet (check whether the client is installed) (if not installed # yuminstalltelnet) 2, # rpm-qtelnet-server (check whether the server is installed...
Fedora16 telnet configuration and enable root login 1. install the software package www.2cto.com 1 and # rpm-q telnet (check whether the client is installed) (if not installed # yum install telnet) 2. # rpm-q telnet-server (check whether the server is installed) (for example, if not # yum installtelnet-server) 2. how to enable service 1: # vi/etc/xinetd. d/telnet to find disable = yes: here, change yes to no attached vi common commands to restart xinetd: # service xinetd restart 3. change the telnet port if the firewall is enabled. Open port 23. # Iptables-I input-p tcp -- dport 23-j ACCEPT # iptables-I INPUT-p udp -- dport 23-j ACCEPTok. Telnet ~ Change the default port of telnet to 23, if you want to change # vi/etc/services to find telnet 23/tcptelnet 23/udp, change 23 to the desired port number www.2cto.com 4. Telnet service restrictions # vi/etc/xinetd. d/telnet where service telnet {disable = no # activate the telnet service, and enter nobind = ***. ***. ***. * ** # Your IP address only_from = 192.168.0.0/16 # here, only 192.168.0.0 ~ The IP address of 192.168.255.255 enters the telnet server only_from = .edu.cn # only allow .edu.cn to enter no_access = 192.168.1. {13,14} # the two IP addresses cannot log on to access_times = AM-am-# The time period that is open every day ............} 5. root user login (by default, root users cannot log on, but restrictions can be lifted) method 1, # vi/etc/pam. d/login # Find auth required pam_securetty.so and watch this line. 2. # mv/etc/securetty. bak (delete the/etc/securetty file) or add pts/0pts/1... pts/11
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service