Please follow up steps below to configure your rsh on the Red Hat Linux:
- Install rpm package rsh-server
- chkconfig --list | grep rsh. if it's off, turn it on by "chkconfig rsh on"
- chkconfig --list | grep rlogin, if it's off turn it on
- chkconfig --list | grep rexec, if it's off turn it on
- restart xinetd service
service xinetd restart - echo + + > /root/.rhosts
- echo rsh >> /etc/securetty
- edit file /etc/pam.d/rsh, add "promiscuous" like below:
auth required pam_rhosts_auth.so promiscuous
Now, your rsh is configured successfully.
Thanks.