Is login.conf.db now required?

Brandon Fosdick bfoz at
Fri Mar 24 23:55:35 UTC 2006

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.

More information about the freebsd-stable mailing list