SUMMARY : netgroup/passwd in solaris

From: Mike Dubman (dubman@black.bgu.ac.il)
Date: Wed Jan 18 1995 - 03:53:13 CST


Hello guys,
Thanks a lot for your suggestions and help,here is the summary
about that problem.

Goal :
^^^^

In SunOS we were using the next lines in /etc/passwd
to control varios users netgroups access to different
machines

-@deprive::0:0:::
+@staff::0:0:::
+@master::0:0:::

But the same thing doesn`t work by default in solaris.
ANY help/suggestions will be highly appreciated and summarized.

Solution :
^^^^^^^^

1. Edit the file /etc/nsswitch.conf and change the lines :

 "passwd: files nis" to "passwd: compat"
 "group: files nis" to "group: compat"

2. Update /etc/passwd and /etc/shadow files :

 /etc/shadow :
 ...
 +@allow::::::
 -@deny::::::

/etc/passwd :
 ...
 +@allow::0:0:::
 -@deny::0:0:::

and .... rtfm, of course ..:-)

Special thanks to :
^^^^^^^^^^^^^^^^^

Daniel R. Bidwell" <bidwell@andrews.edu>
ebernard@ifremer.fr
Casper Dik <casper@fwi.uva.nl>
Ulla Fischer <ulla@dmi.min.dk>
poul@nilu.no
Peter Bestel <Peter.Bestel@uniq.com.au>
Maxi Y W Hui <ywhui@ie.cuhk.hk>
AROSSITE.US.ORACLE.COM <AROSSITE@us.oracle.com>
Steve Ozoa <sozoa@atmel.com>
Allan Arlovitch <alan@sunshine.cs.biu.ac.il>

                Have a nice life

 Mike Dubman.
 Ben-Gurion University,Israel.
 Computer Sc. Department.
 ______________________________

 e-mail: dubman@black.bgu.ac.il
 mosaic: http://www.cs.bgu.ac.il/~dubman



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:14 CDT