우분투 텔넷서비스 (23번) 사용
로빈아빠
본문
# sudo apt-get install telnetd xinetd
# vi /etc/xinetd.d/telnet
service telnetd
{
socket_type = stream
server = /usr/sbin/telnetd
protocol = tcp
user = root
wait = no
disable = no
}
# vi /etc/xinetd.d/telnet
service telnetd
{
socket_type = stream
server = /usr/sbin/telnetd
protocol = tcp
user = root
wait = no
disable = no
}
# /etc/init.d/xinetd restart
//시작시 설정
apt-get install rcconf
rcconf
vi /etc/rc.local
touch /var/lock/subsys/local
echo "" > /etc/issue.net
bash /mount.sh
/etc/init.d/xinetd stop
/etc/init.d/inet restart
/etc/init.d/dovecot start
/usr/bin/rdate -s time.bora.net
/etc/init.d/dovecot start
우분투 inetd 설치
apt-get install openbsd-inetd
/etc/init.d/openbsd-inetd restart
vi /etc/xinetd.d/telnet
disable = yes 로 변경
vi /etc/inetd.conf
#telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd -L /xxxxxx/main
telnet stream tcp nowait bbs /usr/sbin/in.telnetd in.telnetd -L /xxxxxxx/main
#telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
댓글목록
등록된 댓글이 없습니다.