Subject: Re: Console login fails with NIS
To: None <current-users@NetBSD.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: current-users
Date: 06/10/2005 17:22:04
On Fri, Jun 10, 2005 at 07:44:20PM +0200, Manuel Bouyer wrote:
> > I tested this on a similar NIS client (NetBSD/i386 2.0.2): I removed
> > the + lines and put this instead of the existing group, group_compat,
> > passwd and passwd_compat entries:
> > 
> > group:          files nis
> > passwd:		files nis
> > 
> > Then I disconnected the network cable and tried to login as root
> > but I'm still getting these NIS related (yp_something) timeouts so
> > clearly NIS is used even with root logins. What am I doing wrong?
> 
> I suspect that, even if the root account is local, it still needs to access
> NIS to know to which groups it belongs.

but nsswitch.conf says to check files before nis... so why is it even
hitting NIS?

is root in any groups which aren't in /etc/group?

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com