using netgroups to control logins in 2.6?

Ok,

  Thanks for the quick replies. Sorry I didn't record the names of those

who did reply. Too quick on the delete.

I needed to add:

+@eb-nfs1-users

+:x:::::/bin/false

to my /etc/passwd. The first allowed the users of my netgroup and the

second line allowed me to keep the names/logins matched to UID's on

files without allowing them to login. After this I needed to run

"pwconv" to 'sync' the passwd and shadow.

Once these were in place I just changed:

passwd: files nis

to

passwd: files compat

in /etc/nsswitch.conf and it's working nicely.

Robert

---------------------------------------------------------------------------

Robert L. Harris | You mean you paid

Senior System Administrator II | MONEY for

  at Great West Life. \_ Service Pack '98?

http://www.orci.com/~nomad

DISCLAIMER:

      These are MY OPINIONS ALONE. I speak for no-one else.

FYI:

 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

[1126 byte] By [CodeProf.com] at [2007-12-25 11:22:00]