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.
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
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.
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.
Subscribe to:
Posts (Atom)