Re: [CentOS] CentOS6 and pam_access

2012-10-19 Thread lhecking
> Under CentOS5, I used this configuration to restrict access to root only: > > # cat /etc/security/access.conf > + : root : ALL > - : ALL : ALL > # cat /etc/pam.d/system-auth-ac > ... > account required pam_access.so > account required pam_unix.so > account sufficient

[CentOS] CentOS6 and pam_access

2012-10-10 Thread lhecking
I just realised that pam_access no longer works under CentOS6 - or it works differently from CentOS5. Under CentOS5, I used this configuration to restrict access to root only: # cat /etc/security/access.conf + : root : ALL - : ALL : ALL # cat /etc/pam.d/system-auth-ac ... account required