Skip to content

Commit

Permalink
Update pam configuration for Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
gblach committed Sep 13, 2015
1 parent 3c79d66 commit 29f6ee2
Showing 1 changed file with 9 additions and 23 deletions.
32 changes: 9 additions & 23 deletions pam.d/please.Debian
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

0 comments on commit 29f6ee2

Please sign in to comment.