[root@db2 etc]# cd xinetd.d
[root@db2 xinetd.d]# ls
amanda amidxtape chargen cups-lpd daytime-udp echo-udp finger klogin kshell rexec rsh swat tftp time-udp
amandaidx auth chargen-udp daytime echo eklogin gssftp krb5-telnet proftpd-xinetd rlogin rsync telnet time
[root@cqcj2 xinetd.d]# vi telnet
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
~
~
~
~
~
~
~
"telnet" 13L, 303C written
[root@cqcj2 xinetd.d]# service xinetd restart
Stopping xinetd: [FAILED]
Starting xinetd: [ OK ]
sum:
vi /etc/xinetd.d/telnet
disable=no--[yes]
service xinetd restart
setup
xinetd [*]
阅读(1480) | 评论(0) | 转发(0) |