Discussion Locked

Disabling Rlogin in rh 6.2

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

HI Friends,
I have a problem here i want to disable rlogin to my server (because of security reasons),can any body give solution for that?

Thanks in advance
avm

7 replies

by ivan

You need just find and comment or delete line in /etc/inetd.conf :
login stream tcp nowait root /usr/sbin/tcpd in.rlogind
And then send signal HUP to process inetd or reeboot OS.

by cpfeiffe

You should also comment out login 513/tcp and login 514/udp in /etc/services and any other login related lines (klogin, etc.). The /etc/inetd.conf is the proper way to prevent people from using rlogin, but the ports in /etc/services can be hacked by tools that will use them for their non-default functions.

by kevin anderson

The easiest way to disable that, and plenty of other apps is to go to the console prompt, and type NTSYSV.

If it's checked off, it'll start. If not, it won't. This will NOT stop a service that is currently running, it will just prevent it from starting when the server is next rebooted.

To stop it currently, use the advice given above, or type PS AUX|GREP RLOGIN

and kill the Process ID for RLOGIN. (you don't need a -9)

Kev.

This discussion is closed to new replies.