MRKAVANA (mrkavana@gmail.com) - www.facebook.com/kavanathai
Showing posts with label telnet. Show all posts
Showing posts with label telnet. Show all posts

Jul 18, 2011

How to disable telnet server in linux

if [ -e /etc/xinetd.d/telnet ]
then
sed -i 's/disable.*/disable = yes/' /etc/xinetd.d/telnet
service xinetd restart
fi

copy and run this in terminal. Thats it. Have fun.




How to disable telnet server in linux

This is a small script to disable telnet server on centos linux. it will work on other redhat distros also.


if [ -e /etc/xinetd.d/telnet ]
then
sed -i 's/disable.*/disable = yes/' /etc/xinetd.d/telnet
service xinetd restart
fi

copy and run this in terminal. Thats it. Have fun.