锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
緙栬緫 /etc/rc.conf
inetd_enable="YES"
2) 寮鍚痶elnet
緙栬緫 /etc/inetd.conf
鎶?
#telnet stream tcp nowait root /usr/libexec/telnetd telnetd
#telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd (榪欎釜鏄痶cp6鍗忚鐨?
鍓嶉潰鐨?鍘繪帀
kill -HUP `cat /var/run/inetd.pid`
鎶奿netd閲嶅惎涓涓嬶紝灝卞彲浠ヤ簡銆?鍙杈撳叆inetd)
3)璁﹔oot鍙互鐧婚檰telnet
緙栬緫 /etc/pam.d/login
account requisite pam_securetty.so
鎶婅繖琛屾敞閲婃帀
4)寮鍚痜tp
緙栬緫 /etc/inetd.conf
#ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
#ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l
鍘繪帀鍓嶉潰鐨勬敞閲?br>
5)璁﹔oot鐧婚檰ftp
緙栬緫 /etc/ftpusers
娉ㄩ噴鎺塺oot
6)dmesg
dispaly the system message buffer
]]>
1) 璁﹔oot鍙互telnet
淇敼/etc/pam.d/login鏂囦歡錛屾敞閲婃帀auth required pam_securetty.so #灝嗚繖涓琛屾敞閲婃帀!
榪愯service xinetd restart 閲嶅惎telnet鏈嶅姟
2)璁﹙sftp鍏佽root鐢ㄦ埛鐧婚檰
淇敼/etc/vsftpd.user_list錛屾敞閲婃帀root
淇敼/etc/vsftpd.ftpusers錛屾敞閲婃帀root
榪愯service vsftpd restart 閲嶅惎vsftpd
/etc/vsftpd/vsftpd.conf 鏂囦歡閲屽ご userlist_enable=YES 涓嶇煡閬撴槸浣滀粈涔堢敤鐨?br />
]]>