How To Configure RSH – Remote Shell


1) Enable rsh
#vim /etc/xinetd.d/rsh
disable=yes into disable=no
wait = yes into wait=no
2) Enable rexec
#vim /etc/xinetd.d/rexec
disable=yes into disable=no
wait=yes into disable=no
3)Enable rlogin
#vim /etc/xinetd.d/rlogin
disable=yes into disable=no
wait=yes into wait=no
4) Enable securetty
Add rsh,rlogin.rexec into the /etc/securetty
Enable the service for login with tty devices.
5) PAM - Pluggable Authentication Module.
1) Authentication condition.
2) Define the Session Module.
#vim /etc/pam.d/rsh
auth required into
auth sufficient

6) Add the trusted Host List
#vim /root/.rhosts
List of hosts Login without password or server admin granted "TRUSTED"
rsh/rlogin Remote access without supplying Password.

Finally trying from the Client Machine, using rsh,rlogin,to verify rsh- Remote shell.

No comments:
Write comments