[97141] in RedHat Linux List
Re: pam_wheel.so doesn't work?
daemon@ATHENA.MIT.EDU (Alex de Joode)
Sun Nov 1 12:40:01 1998
Date: Sun, 1 Nov 1998 18:39:15 +0100
From: Alex de Joode <usura@replay.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
In article <199810311818.MAA04525@isunix.it.ilstu.edu> you wrote:
: I am trying to use the pam_wheel.so module with an application. I want to
: only allow members of a particular group in. However, when I add this line
: to the appropriate /etc/pam.d/ file, I get no change in behavior at all.
: Whether a user is or is not a member of the group they are allowed.
: auth required /lib/security/pam_wheel.so debug group=staff
less /etc/pam.d/su
#%PAM-1.0
auth sufficient /lib/security/pam_rootok.so
auth required /lib/security/pam_pwdb.so shadow nullok
auth required /lib/security/pam_wheel.so
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
less /etc/groups
root::0:root,user1,user2
[..]
wheel::10:root
Hope this helps.
-aj-
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.