mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-10-14 07:40:38 -04:00
Restrict su to users in the root group
This commit is contained in:
parent
38099a2a5d
commit
890298a3c8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue