Also, I don't guarantee this will work for you but it did for me. If this breaks your setup, I will not be held responsible. Look before you leap :)
- Install these packages (either yum, apt-get, or rpm):
xinetd
rsh
rsh-server - Now run this:
echo "rsh" >> /etc/securetty
echo "rlogin" >> /etc/securetty - In /etc/xinetd.d/rsh and /etc/xinetd.d/rlogin, change:
disable = yes
todisable = no
- Add promiscuous to line in /etc/pam.d/rsh and /etc/pam.d/rlogin like so:
auth required pam_rhosts_auth.so promiscuous
- Start the daemon:
/etc/init.d/xinetd.d start
- For a passwordless login setup, add the target hosts name in the following file on the source host:
/root/.rhosts
0 comments:
Post a Comment