MRKAVANA (mrkavana@gmail.com) - www.facebook.com/kavanathai

Jul 18, 2011

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.




No comments:

Post a Comment