[CentOS] rsh issue/update (access denied)...
james-p at moving-picture.com
Tue Jun 24 21:25:54 UTC 2008
> i've got an "access denied" issue with rsh on one of my boxes (and before we
> start, no "use ssh" comments.. rsh is what i'm dealing with for now!!)
> i've got a few boxes in my network, and i can successfully rsh into them
> with no issue. however, on one box, i can't access it using rsh, and i'm
> running out of things to try... kind of curious.
> i can login using rlogin.
> i've modifed the /etc/pam.d/rsh,rlogin files, along with the /etc/securetty
> file. i've also changed the /etc/xinetd.d/(rsh,rlogin)files. as far as i can
> tell, nothing else has been changed...
> the curious thing. as far as i can tell... the files on the system that
> doesn't work, are the same as the files on the systems that are allowing rsh
> to occur...
> the err i'm getting in the /var/log/secure is:
> Jun 23 22:16:09 lserver5 userhelper:
> pam_timestamp(system-config-services:session): updated timestamp file
> Jun 23 22:16:09 lserver5 userhelper: running
> '/usr/sbin/system-config-services' with root privileges on behalf of 'root'
> Jun 23 22:16:28 lserver5 xinetd: START: shell pid=2239
> Jun 23 22:16:28 lserver5 rshd: pam_rhosts_auth(rsh:auth): denied to
> root at 192.168.1.45 as test1: access not allowed
> Jun 23 22:16:28 lserver5 rshd: pam_unix(rsh:session): session opened
> for user test1 by (uid=0)
> Jun 23 22:16:28 lserver5 rshd: pam_unix(rsh:session): session closed
> for user test1
What does .rhosts contain for user test1 contain?
Is it different from the .rhosts file(s) on the other systems -
including the permissions ?
More information about the CentOS