Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 1997 11:15:52 +0100 (MET)
From:      W.Belgers@nl.cis.philips.com (Walter Belgers)
To:        terry@lambert.org (Terry Lambert)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: NIS/uids
Message-ID:  <199702071015.LAA03051@giga.lss.cp.philips.com>
In-Reply-To: <199702062116.OAA17845@phaeton.artisoft.com> from Terry Lambert at "Feb 6, 97 02:16:58 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert writes:
> > > > Let's assume I do not trust the uid's coming from the NIS server but I
> > > > still do want to use NIS (for passwd/homedir/gecos/whatever).
> > > 
> Couldn't I add the user to "wheel" or "kmem" in the NIS groups file
> anyway?

If I do not override the gid in the local password file, a user could
indeed put himself in wheel and be in wheel on my local machine as well.

> I still like the idea of a list of groups and uids that won't be
> honored via NIS.

Or maybe make an exception for uid 0.

> > I have no "+" in my password file, only "+user", so you can only hack
> > those users, not the users that are only locally in my password file. So
> > it does give the desired protection.
> 
> Do you do "+group" in the group file, as well?  I suppose you have to...

No, I don't mind wether or not all gids are in the group file. If a NIS
user is in group 999 which doesn't locally exists, so be it.

> 					Terry Lambert

Walter.
-- 
Ir. W.H.B. Belgers, Internet Security Specialist        phone: +31 40 2782753
Origin IT Syst.Man. /Nederland bv, Bldg VN-513   email:   fax: +31 40 2784697
P.O. Box 218, 5600 MD Eindhoven, Netherlands     W.Belgers@nl.cis.philips.com
non-business-email: walter@giga.nl & -web: http://www.IAEhv.nl/users/gigawalt



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