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


2 Answers 2


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.

  • sorry i didnt mention the Operating System. Now i have updated the Question and I accept your answer.
    – OmiPenguin
    Jan 12, 2013 at 10:52

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.

  • How does this differ from the 4 year old accepted answer? Mar 31, 2017 at 18:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.