mock: check user groups before asking for password
This commit is contained in:
parent
2cf7bacf32
commit
7bc1dc57a2
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
||||||
#%PAM-1.0
|
#%PAM-1.0
|
||||||
auth sufficient pam_rootok.so
|
auth sufficient pam_rootok.so
|
||||||
auth sufficient pam_succeed_if.so user ingroup mock use_uid quiet
|
auth sufficient pam_succeed_if.so user ingroup mock use_uid quiet
|
||||||
|
account sufficient pam_succeed_if.so user ingroup packager use_uid quiet
|
||||||
|
auth sufficient pam_succeed_if.so user ingroup packager use_uid quiet
|
||||||
# Uncomment the following line to implicitly trust users in the "wheel" group.
|
# Uncomment the following line to implicitly trust users in the "wheel" group.
|
||||||
#auth sufficient pam_wheel.so trust use_uid
|
#auth sufficient pam_wheel.so trust use_uid
|
||||||
# Uncomment the following line to require a user to be in the "wheel" group.
|
# Uncomment the following line to require a user to be in the "wheel" group.
|
||||||
|
@ -10,6 +12,4 @@ account sufficient pam_succeed_if.so user ingroup mock use_uid quie
|
||||||
account include system-auth
|
account include system-auth
|
||||||
password include system-auth
|
password include system-auth
|
||||||
session include system-auth
|
session include system-auth
|
||||||
account sufficient pam_succeed_if.so user ingroup packager use_uid quiet
|
|
||||||
auth sufficient pam_succeed_if.so user ingroup packager use_uid quiet
|
|
||||||
session optional pam_xauth.so
|
session optional pam_xauth.so
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue