- Edit (as root) the inetd.conf file in /etc/ directory by typing sudo pico inetd.conf.
- Uncoment this line ...
#telnet stream tcp nowait root /usr/libexec/tcpd telnetd
... by removing the # symbol at the start of the line. - Save the file and quit pico.
- Restart inetd. To find the PID of inetd, type ps -aux | grep 'inetd'. Find a line in the output that looks like this ...
root 410 0.0 0.0 1308 44 ?? Ss Wed01AM 0:00.00 inetd
... then type sudo kill -9 410, where 410 is the PID as shown in the output above. Then run inetd again with the command sudo inetd. You could do this all at once by typing sudo kill -9 410; sudo inetd
That's it.

