Telnet

On the Module

  1. 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
  1. 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
  1. Create a symlink to the login app for Telnet to use:
ln -s /bin/login /usr/bin/login
start inetutils
$ /usr/lib/inetutils/inetd
  1. Create a user with these commands:
root@g2c-43-24:~# useradd telnet
root@g2c-43-24:~# passwd telnet
  1. 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.
  1. 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 2.6.35.3 (10.0.1.29) (pts/0)

g2c-43-24 login:

From here you can log in with any user you have created.