Click to See Complete Forum and Search --> : disable telnetd at startup


maxthree
10-05-2003, 04:26 PM
Hi

I am a linux newbie. Have mandrake9.1 installed.

I just installed a telnet server
it starts up when I boot my linbox.

I can shut it down manually
(chkconfig telnet off as root)

but how do I set the server by default down at startup?

SuperNu
10-05-2003, 06:37 PM
I am not familiar with Mandrake, but if their version of chkconfig is anything like Red Hat's, then you will use chkconfig [--level <levels>] <name> <on|off|reset>. So, for telnet, you would use chkconfig --level 35 telnet off. For the levels, you would have to select what levels you want to turn telnet off for. I would just put in 0123456 for the run levels to be sure you turn it off completely. If you don't need a telnet server on your machine, then I would uninstall it. If you do need telnet, then you should seriously consider switching over to ssh. It is an encrpyted protocol and safer to use than telnet.

--SN

Magueta
10-06-2003, 05:20 PM
Ditto on switching to ssh from telnet.

Joe