Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
Had a look at what Wikipedia proposes "Rsh" might be? 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
up vote 3 down vote accepted

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.

share|improve this answer
sorry i didnt mention the Operating System. Now i have updated the Question and I accept your answer. – OmiPenguin Jan 12 '13 at 10:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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