Restrict su to users in the root group

This commit is contained in:
madaidan 2019-07-08 23:15:56 +00:00 committed by GitHub
parent 38099a2a5d
commit 890298a3c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ auth sufficient pam_rootok.so
# denying "root" user, unless she's a member of "foo" or explicitly
# permitted earlier by e.g. "sufficient pam_rootok.so").
# (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
# su without a password.