[370] in RedHat Linux List
Re: Strange problem with PAM and .rhosts
daemon@ATHENA.MIT.EDU (Elliot Lee)
Tue Oct 22 10:37:49 1996
Date: Tue, 22 Oct 1996 10:33:08 -0400 (EDT)
From: Elliot Lee <sopwith@cuc.edu>
To: Red Hat <redhat-list@redhat.com>
In-Reply-To: <ra7mojxed9.fsf@epact.se>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On 22 Oct 1996, Magnus Hammerin wrote:
> I have a problem that is probably NFS related. If I try to logon from
> one machine to another I have to enter the password even though the
> machine is listed in the .rhosts file. If I cat my .rhosts file (which
> resides on a NFS mounted filesystem) on the host I try to logon to. I
> can logon without giving a password, as it should be.
>
> It seems like the pam module doesn't find anything in the file if it is
> not in the filebuffer, if the filesystem is NFS mounted. If I try the
> same with a local filesystem, it works fine.
>
> Has anybody else seen this?
>
> The machine I am trying to logon to is a redhat 4.0 machine. The NFS
> server has a 2.0.15 kernel and is running nfs server version 2.1.
I'm guessing that the NFS client can't read the ~user/.rhosts because
root_squash is on (which it should be) so root on the client becomes
nobody on the server as far as NFS is concerned, and the ~user/.rhosts is
not world readable (which is also correct).
-- Elliot
http://www.redhat.com/
--
PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-HOWTO
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null