On the Module
- Create a file called inetd.conf in the /etc directory and add these lines:
ftp stream tcp nowait root /usr/lib/inetutils/ftpd ftpd -l
telnet stream tcp nowait root /usr/lib/inetutils/telnetd telnetd
- Add these lines to /etc/securetty at the end of the file.
- Create a symlink to the login app for Telnet to use:
ln -s /bin/login /usr/bin/login
- Create a user with these commands:
root@g2c-43-24:~# useradd telnet
root@g2c-43-24:~# passwd telnet
- Change a password for Telnet. Enter the new password (characters: minimum 5, maximum 8). Use a combination of upper and lower case letters and numbers.
Re-enter new password:
passwd: password changed.
- Now you can log in as the user “telnet”.
On Your Local Machine
$ telnet 10.0.1.18
Connected to 10.0.1.18.
Escape character is '^]'.
Linux 22.214.171.124 (10.0.1.29) (pts/0)
From here you can log in with any user you have created.