Question: how to disable rsh in linux?
Answer: Remove the "rsh" entry in the /etc/securetty file. Disable the rsh server by typing the following command: # chkconfig rsh off. After you complete an installation procedure, delete the .rhosts file from each user's $HOME directory to ensure security: # rm -f $HOME/.rhosts.