Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2006 15:49:55 -0800
From:      Brandon Fosdick <bfoz@bfoz.net>
To:        Mikhail Teterin <mi+mx@aldan.algebra.com>
Cc:        stable@freebsd.org
Subject:   Re: Is login.conf.db now required?
Message-ID:  <442485A3.2010900@bfoz.net>
In-Reply-To: <200603241522.54716.mi%2Bmx@aldan.algebra.com>
References:  <200603241522.54716.mi%2Bmx@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mikhail Teterin wrote:
> Hi!
> 
> I updated world to today's 6.1 and my syslog is filling up with:
> 
> Mar 24 15:08:29 aldan sshd[2163]: login_getclass: unknown class 'root'
> 
> The /etc/login.conf did not change since November. I never had login.conf.db 
> -- it was always optional. Did that just change, or is something else broken 
> here?
> 
> The only radical change I made today was setting NO_NIS to "yes". Thanks!

I had similar problems when I disabled NIS too. I'm not sure if your problem is the same, but I fixed mine by editing /etc/nsswitch.conf and replacing all occurrences of "nis" with "files". Apparently there are some things that don't respect NO_NIS and therefore keep trying to use it anyway.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?442485A3.2010900>