Nov 6, 2006

ubuntu 安裝 telnetd

修改 /etc/apt/source.list,把universe前的註解去掉

$sudo apt-get install xinetd telnetd

建立/etc/xinetd.d/telnet

內容:
service telnet

{

disable = no

socket_type = stream

protocol = tcp

wait = no

user = telnetd

server = /usr/sbin/in.telnetd

}

重新啟動xinetd:

$ sudo /etc/init.d/xinetd restart

0 comments:

Post a Comment