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
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityrsh 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.
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
.
/etc/xinetd.d/rsh
is a solution (look fordisable
).