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.
pts/0 pts/1 pts/2 pts/3 pts/4 pts/5 pts/6 pts/7 pts/8 pts/9
- 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.
New password: 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 Trying 10.0.1.18... Connected to 10.0.1.18. Escape character is '^]'. Linux 184.108.40.206 (10.0.1.29) (pts/0) g2c-43-24 login:
From here you can log in with any user you have created.