mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-13 07:51:26 -05:00
increase priority of pam wheel so it is checked even before faillock
in case of attemtping to use `su` without being a member of the required group `sudo`, it's useful to abort the PAM stack as early as possible to avoid needlessly propmting for a password to later be rejected tu to lack of group membership
This commit is contained in:
parent
d4767b7520
commit
6e0787957b
@ -1,6 +1,6 @@
|
||||
Name: group sudo membership required to use su (by package security-misc)
|
||||
Default: yes
|
||||
Priority: 280
|
||||
Priority: 1050
|
||||
Auth-Type: Primary
|
||||
Auth:
|
||||
[success=1 default=ignore] pam_exec.so seteuid quiet /usr/libexec/security-misc/pam_only_if_su
|
||||
|
Loading…
x
Reference in New Issue
Block a user