Linux

Ubuntu Telnet Server 사용하기

yuwal6 2018. 4. 9. 23:49


sudo apt-get install xinetd

sudo apt-get install telnetd


vi /etc/xinetd.conf 아래와 같이 수정


# Simple configuration file for xinetd

#

# Some defaults, and include /etc/xinetd.d/


defaults

{


# Please note that you need a log_type line to be able to use log_on_success

# and log_on_failure. The default is the following :

# log_type = SYSLOG daemon info


}


service telnet

{

disable = no

flag = REUSE

socket_type = stream

wait = no

user = root

server = /usr/sbin/in.telnetd

log_on_failure += USERID

}


includedir /etc/xinetd.d


/etc/init.d/xinetd restart 데몬 재시작