[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: PAM configuration for 'SU'



On Fri, 3 Jul 1998, Francis A. Vidal wrote:

francis> hello everyone!
francis> 
francis> how do i configure PAM so that only users that are member of group 'wheel'
francis> can use 'su'? thanks!

Add the pam_wheel.so module to your /etc/pam.d/su like so:

#%PAM-1.0
auth       required     /lib/security/pam_wheel.so group=wheel
auth       required	/lib/security/pam_pwdb.so shadow nullok
account    required	/lib/security/pam_pwdb.so
password   required	/lib/security/pam_cracklib.so
password   required	/lib/security/pam_pwdb.so shadow use_authtok nullok
session    required	/lib/security/pam_pwdb.so



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []