-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,15 @@ | ||
# | ||
# The PAM configuration file for the Shadow `please' service | ||
# PAM configuration for the "please" service | ||
# | ||
|
||
# This allows root to use `please' without passwords (normal operation) | ||
auth sufficient pam_rootok.so | ||
# Allow root to use `please` without password | ||
auth sufficient pam_rootok.so | ||
|
||
# Uncomment this to force users to be a member of group root | ||
# before they can use `please'. You can also add "group=foo" | ||
# to the end of this line if you want to use a group other | ||
# than the default "root" (but this may have side effect of | ||
# denying "root" user, unless she's a member of "foo" or explicitly | ||
# permitted earlier by e.g. "sufficient pam_rootok.so"). | ||
# auth required pam_wheel.so | ||
# Allow to use `please` only by members of group root | ||
auth requisite pam_wheel.so | ||
|
||
# Uncomment this if you want wheel members to be able to | ||
# use `please' without a password. | ||
# auth sufficient pam_wheel.so trust | ||
|
||
# Uncomment this if you want members of a specific group to not | ||
# be allowed to use `please' at all. | ||
# auth required pam_wheel.so deny group=noplease | ||
|
||
# The standard Unix authentication modules, used with | ||
# NIS (man nsswitch) as well as normal /etc/passwd and | ||
# /etc/shadow entries. | ||
@include common-auth | ||
@include common-account | ||
# Allow to use `please` without password (by members of group root) | ||
#auth sufficient pam_wheel.so trust | ||
|
||
@include common-auth | ||
@include common-account |