: 我在google查到指令chkconfig telnet off並不對.
: Thanks!
你在用"chkconfig --list" | grep "telnet"有沒有找到
相關的服務? (例如telnetd?)
有的話請跑:
chkconfig
/etc/init.d/
沒有的話大概是在tcpwrapper內跑的了.
請找/etc/inet.d/telnet或/etc/inetd.conf或/etc/xinet.d/telnet
把相應的
disable = no 改成 disable = yes
然後
/etc/init.d/inetd restart
或
/etc/init.d/xinetd restart
<<來自 ptt->Linux->17972 leicheong>>
No comments:
Post a Comment