*BSD News Article 88665


Return to BSD News archive

From: rbickers@intercenter.net (Ron Bickers)
Subject: NIS and netgroups problem
Newsgroups: comp.unix.bsd.freebsd.misc
Summary: 
X-Newsreader: TIN [version 1.2 PL2]
NNTP-Posting-Host: gemini.intercenter.net
Message-ID: <32f8b3ac.0@news.intercenter.net>
Date: 5 Feb 97 16:22:04 GMT
Organization: The Internet Center, Inc. - Raleigh, NC
Lines: 29
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!howland.erols.net!nntp.crl.com!news.ilan.net!news.intercenter.net!rbickers
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35192

FreeBSD 2.1.6 new installation.

I'm attempting to use netgroups in the password file but
they seem to be ignored to an extent.  I have the following
in /etc/master.passwd

root and other local users
+@allowed:::::::::
+:::::::::/notallowed

Using finger, anyone not in the allowed netgroup shows up
with the shell /notallowed, and anyone in the netgroup
shows up with their valid shell as expected.

When I telnet in, everyone, including those in the netgroup
end up with the /notallowed shell and therefore cannot get in.

I can use:

+person1:::::::::
+person2:::::::::
+person3:::::::::
+:::::::::/notallowed

And it works as expected, but it's definitely not ideal.

Any ideas?

Ron