I have Linux version 9 installed and I'm having trouble getting rsh to work from another unix host to the Linux system.
I've updated done the following:
/etc/secuetty file and added: rsh, rexec, rlogin
/etc/pam.d/rsh modified the pam_rhost_auth line to 'suffient' from required
created /etc/hosts/equiv file
added ALL:ALL to the hosts.allow
created .rhosts .. with fully qualified domain name
turned on rsh and rlogin in chkconf
I can rsh -l otheruser linux-host date .. and this works..
But it fails whenever I try to run rsh from another host as root..
I can see the pam authenicate.. but rsh denies access to root.
[root@localhost root]# Jul 12 13:36:22 localhost pam_rhosts_auth[2530]: allowed to
root@us-sd-intralink2.sdp.sel.sony.com as root
Jul 12 13:36:22 localhost in.rshd[2530]: rsh denied to
root@us-sd-intralink2.sdp.sel.sony.com as root: Permission denied.
Jul 12 13:36:22 localhost in.rshd[2530]: rsh command was 'ls'
any ideas..??
you help is greatly appreciated..
-doug s