Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 12:52:07 -0800
From:      Andrew Konstantinov <andrei@kableu.com>
To:        Doug White <dwhite@gumbysoft.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 5.3 -> 5 : sshd multiple log entries & login_getclass: unknown class 'root'
Message-ID:  <20050206205207.GA764@warrior.kableu.com>
In-Reply-To: <20050206122621.M80603@carver.gumbysoft.com>
References:  <20050130084359.GA36069@warrior.kableu.com> <20050201012056.GA47334@warrior.kableu.com> <20050202070820.GA26302@warrior.kableu.com> <20050203210643.T47315@carver.gumbysoft.com> <20050206061245.GA1774@warrior.kableu.com> <20050206065226.GA2103@warrior.kableu.com> <20050206090524.GA79029@warrior.kableu.com> <20050206122621.M80603@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 06, 2005 at 12:29:23PM -0800, Doug White wrote:
> On Sun, 6 Feb 2005, Andrew Konstantinov wrote:
>=20
> > *Possible* exact reproduction steps:
> > - install RELENG_5
> > - rebuild RELENG_5 with "NO_NIS=3Dtrue" in /etc/make.conf
> > - restart sshd service
>=20
> Sorry, no dice.  I had to set "PermitRootLogin yes" in
> /etc/ssh/sshd_config but logging in as root with password succeeds with no
> login class warning. Upgraded from a RELENG_5 from yesterday to one about
> 90 minutes old.
>=20
> 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.
>=20
> Also what are the contents of /etc/make.conf?

#--- The nsswitch.conf:
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
#----------------------

Hmm, I completely forgot about that one. :( I guess 'nis' should have been
switched to 'files' whenever system is compiled with "NO_NIS=3Dtrue".

#--- current make.conf:
CFLAGS=3D		-O -pipe
COPTFLAGS=3D	-O -pipe
CPUTYPE=3D	athlon-xp
KERNCONF=3D	CUSTOM
MAKE_IDEA=3D	YES
NOATM=3D		true
NOGAMES=3D	true
NO_BLUETOOTH=3D	true
NO_FORTRAN=3D	true
NO_I4B=3D		true
NO_PF=3D		true
NO_AUTHPF=3D	true
NO_IPFILTER=3D	true
NO_KERBEROS=3D	true
NO_LPR=3D		true
NO_SENDMAIL=3D    true
PPP_NOSUID=3D     true
PRINTERDEVICE=3D	ascii
WITH_OPTIMIZED_CFLAGS=3D	true
X_WINDOW_SYSTEM=3Dxorg
PERL_ARCH=3Dmach
NOPERL=3Dyo
NO_PERL=3Dyo
NO_PERL_WRAPPER=3Dyo
PERL_VER=3D5.6.1
PERL_VERSION=3D5.6.1
#----------------------

Andrew

--2oS5YaxWCcQjTEyO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCBoN3g+6MtxSjexcRArLSAJsGB4q56yBH2nLLNAdj33hVsnQxHgCgxGOG
dmwFcSgkBSpVNCjl+zRXPW0=
=5fno
-----END PGP SIGNATURE-----

--2oS5YaxWCcQjTEyO--



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