mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
Restrict su to users in the root group
This commit is contained in:
parent
38099a2a5d
commit
890298a3c8
@ -12,7 +12,7 @@ auth sufficient pam_rootok.so
|
|||||||
# denying "root" user, unless she's a member of "foo" or explicitly
|
# denying "root" user, unless she's a member of "foo" or explicitly
|
||||||
# permitted earlier by e.g. "sufficient pam_rootok.so").
|
# permitted earlier by e.g. "sufficient pam_rootok.so").
|
||||||
# (Replaces the `SU_WHEEL_ONLY' option from login.defs)
|
# (Replaces the `SU_WHEEL_ONLY' option from login.defs)
|
||||||
# auth required pam_wheel.so
|
auth required pam_wheel.so
|
||||||
|
|
||||||
# Uncomment this if you want wheel members to be able to
|
# Uncomment this if you want wheel members to be able to
|
||||||
# su without a password.
|
# su without a password.
|
||||||
|
Loading…
Reference in New Issue
Block a user