[CentOS] restricting access to an NIS netgroup

Tue Nov 8 21:43:09 UTC 2011
James A. Peltier <jpeltier at sfu.ca>

----- Original Message -----
| On Tue, Nov 08, 2011 at 03:41:22PM -0500, Mike VanHorn wrote:
| > How can I restrict access to a system based on NIS netgroups?
| 
| Change nsswitch.conf so that it reads
| passwd: compat
| passwd_compat: nis
| 
| And then in /etc/passwd
| + at netgroup1::::::
| + at netgroup2::::::
| 
| That way only users in the given netgroup(s) have visible accounts on
| the
| machine.
| 
| --
| 
| rgds
| Stephen
| _______________________________________________
| CentOS mailing list
| CentOS at centos.org
| http://lists.centos.org/mailman/listinfo/centos

acccess.conf supposed to support this type of functionality thereby not needing to modify /etc/passwd / /etc/shadow!?!

-- 
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax     : 778-782-3045
E-Mail  : jpeltier at sfu.ca
Website : http://www.sfu.ca/itservices
          http://blogs.sfu.ca/people/jpeltier
I will do the best I can with the talent I have