[CentOS] restricting access to an NIS netgroup

Thu Nov 10 04:26:31 UTC 2011
James A. Peltier <jpeltier at sfu.ca>

----- Original Message -----
| On Tue, 8 Nov 2011, James A. Peltier wrote:
| 
| > acccess.conf supposed to support this type of functionality thereby
| > not needing to modify /etc/passwd / /etc/shadow!?!
| 
| You'll probably need to add a pam_access.so reference to the stock
| /etc/pam.d/password-auth. Make the first "account" line
| 
| account required pam_access.so
| 
| Also, I assume that your system can access your netgroups properly,
| i.e., getent can see them:
| 
| getent netgroup $groupname
| 
| --
| Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/
| _______________________________________________
| CentOS mailing list
| CentOS at centos.org
| http://lists.centos.org/mailman/listinfo/centos


authconfig --enablepamaccess --updateall does this for you.

-- 
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