1

I never heard of this word rsh and also received a check list from Security pro that we have to disable rsh.

Can someone please tell me what is this rsh and how to disable it.

Base OS : RHEL 5.5 and 5.6

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
OmiPenguin
  • 4,168
  • 34
  • 79
  • 111
  • 1
    Had a look at [what Wikipedia proposes "Rsh" might be](http://en.wikipedia.org/wiki/Rsh)? [Remote Shell](http://en.wikipedia.org/wiki/Remote_shell) sounds like something a security pro might advise you to disable... I don't know RHEL, but maybe editing `/etc/xinetd.d/rsh` is a solution (look for `disable`). – sr_ Jan 12 '13 at 10:27

2 Answers2

3

rsh is remote shell and it is unencrypted, that's why you should disable it.

I don't know which OS you are talking about, but for RHEL (like sr_ already stated) edit /etc/xinetd.d/rsh and set disable = yes.

After that restart xinetd and you're done.

Though I think, rsh should be disabled by default. Instead of rsh use ssh.

For more information on rsh read the man page.

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
pat
  • 786
  • 4
  • 7
1

To disable rsh access (on RHEL 5.11 servers) I had to do the following:

Edit /etc/xinetd.d/rlogin, and set disable = yes

And after that restart xinetd.