Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2006 11:04:15 -0500
From:      Michael Proto <mike@jellydonut.org>
To:        Mark Hennessy <mark@cloud9.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 6.x, NIS, local root password, and nsswitch.conf
Message-ID:  <456474FF.2020905@jellydonut.org>
In-Reply-To: <Pine.BSF.4.64.0611221037210.27453@earl-grey.cloud9.net>
References:  <Pine.BSF.4.64.0611221037210.27453@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Hennessy wrote:
> The machine in question having the problem with its root password being
> clobbered by NIS is an NIS Slave Server running FreeBSD 6.1, the other
> machines that aren't having this problem are clients running FreeBSD
> 4.11, and the NIS Master Server is running FreeBSD 6.1.
> 
> The pam config for login and su don't appear to be pointing specifically
> to NIS for anything, just system.
> 

What does /etc/passwd look like? I've seen this happen in our
environment when a +entry in /etc/password is above the equivalent user
account. Like if "+root..." or "+@wheel" were above the default root
account.

Incidentally, my /etc/nsswitch.conf looks like this and does work
appropriately with NIS:

group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis


-Proto



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?456474FF.2020905>