Re: 5.3 -> 5 : sshd multiple log entries & login_getclass: unknown class 'root'
From: Bjoern A. Zeeb (bzeeb-lists_at_lists.zabbadoz.net)
Date: 02/08/05
- Previous message: Doug White: "Re: Please fix ucom + uplcom on -stable"
- In reply to: Andrew Konstantinov: "Re: 5.3 -> 5 : sshd multiple log entries & login_getclass: unknown class 'root'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 8 Feb 2005 21:32:18 +0000 (UTC) To: Andrew Konstantinov <andrei@kableu.com>
On Sun, 6 Feb 2005, Andrew Konstantinov wrote:
> > > > What is the contents of /etc/nsswitch.conf? bz is telling me that if you
> > > > still have 'nis' in the lines in nsswitch and you compile with NO_NIS that
> > > > you'll get wierd user lookup errors.
> > >
> > > Hmm, I completely forgot about that one. :( I guess 'nis' should have been
> > > switched to 'files' whenever system is compiled with "NO_NIS=true".
> >
> > it's not documented - sorry, will do that.
> >
> > change it to sth like:
> >
> > group: files
> > hosts: files dns
> > networks: files
> > passwd: files
> > shells: files
> >
> > w/o this change I can see sth like this when doing passwd auth:
> >
> > 'sshd[1995]: NSSWITCH(nss_method_lookup): nis, passwd_compat, endpwent, not found'
> >
> > But I suspect this will not help with your problem.
>
> Actually, that solves all the problems. Once I switched to your version of
> nsswitch.conf, all the "unknown class" bugs and multiple logging events have
> disappeared.
thanks for the information (and thanks for the lib). I will check and
see what can be done to prevent these problems in the future.
-- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
- Previous message: Doug White: "Re: Please fix ucom + uplcom on -stable"
- In reply to: Andrew Konstantinov: "Re: 5.3 -> 5 : sshd multiple log entries & login_getclass: unknown class 'root'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|