????telnet??ssh???????????????????????ssh?汾????????????????????????????????????????linux???????????????????????????daemon????е??telnet????????xinetd??????
????RedHat????
????????telnet????
????1?????telnet???????????
????2????telnet??????????

????????chkconfig --list | grep telnet
????3??????telnet????
???????????vi /etc/xinetd.d/telnet
vi /etc/xinetd.d/telnet
service telnet
{
disable = yes
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
??????disable=yes?????#????????disable=no
????4?????????xinetd???????
????????telnet?????????xinetd??????????????telnet-server??????telnet??????????????xinetd
????[root@centos-64-min xinetd.d]# service xinetd restart
????5?????????
????1) ???????Ч
????????? chkconfig iptables on
???????? chkconfig iptables off
????2) ?????Ч????????Ч
????????? service iptables start
???????? service iptables stop
????6?????????????root?????telnet
????vi /etc/pam.d/login
?????? auth required /lib/security/pam_securetty.so ??????? # ????????????????
???????telnet????
??????1???????vi /etc/xinetd.d/telnet ??distable = no ??? disable = yes
??????????chkconfig telnet off ??????????telent???????????????????????chkconfig --del telnet
??????2?????????service xinetd restart????/etc/init.d/xinetd restart???????Ч
???????telnet-server??:RPM -e telnet-server --nodeps      ???23???: vi /etc/service.