Telnet

FYI the commands below is for Ubuntu OS

-Check status:

sudo /etc/init.d/xinetd status

or

sudo service telnet status

Restart telnet server:

sudo /etc/init.d/inetd restart

or

sudo /etc/init.d/openbsd-inetd restart

If neither xinetd, inetd nor openbsd-inetd was found (if all three doesnt exist) then telnet is not installed

Look for telnet solution directory with:

sudo find / -name telnet

or

apt-cache policy telnet -In ubuntu 16.04 will see that it is installed but if all the above doesnt work then it means it wasnt enabled.

or 

telnet -V 

or 

telnet –V

If you dont have inetd deamon wont be able to use the telnet service in your system. When you install telnetd deamon it also installs inetd deamon.

The telnet service is pre-installed in ubuntu but because default ubuntu has no listening port the telnet service is not useful yet. 

That also means that one does not need to disable telnet unless the one have installed a telnet daemon

Reference:

https://wiki.ubuntu.com/SecurityTeam/Policies#No_Open_Ports

https://www.ibm.com/support/knowledgecenter/zosbasics/com.ibm.zos.znetwork/znetwork_112.htm

http://www.ibm.com/support/knowledgecenter/ssw_aix_72/com.ibm.aix.cmds5/telnetd.htm

http://www.cyberciti.biz/faq/how-do-i-turn-on-telnet-service-on-for-a-linuxfreebsd-system/

http://askubuntu.com/questions/389298/how-do-i-disable-telnet-on-ubuntu-server

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s