chkconfig
update-rc.d
$sudo apt-get install inetutils-inetd
$vi /etc/inetd.conf
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
$ sudo /etc/init.d/inetutils-inetd restart
vi /etc/hosts.allow
in.telnetd: 192.168.X.X
vi /etc/hosts.deny
ALL; ALL