- 论坛徽章:
- 0
|
linux-wcs:~ # rpm -qa |grep telnet
telnet-server-1.2-14.4
telnet-1.2-14.4
linux-wcs:~ # netstat -ant |grep 23
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
linux-wcs:~ # cat /etc/pam.d/login
#%PAM-1.0
auth required pam_securetty.so
auth include common-auth
auth required pam_nologin.so
account include common-account
password include common-password
session include common-session
session required pam_lastlog.so nowtmp
session required pam_resmgr.so
session optional pam_mail.so standard
linux-wcs:~ # cat /etc/xinetd.d/telnet
# default: off
# description: Telnet is the old login server which is INSECURE and should \
# therefore not be used. Use secure shell (openssh).
# If you need telnetd not to "keep-alives" (e.g. if it runs over a ISDN \
# uplink), add "-n". See 'man telnetd' for more details.
service telnet
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.telnetd
}
linux-wcs (Linux release 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006) (1)
login: root
Password for root:
Login incorrect
失去了跟主机的连接。
[ 本帖最后由 bird918 于 2008-5-14 17:54 编辑 ] |
|