aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2018-03-04 01:05:45 +0200
committerThomas Backlund <tmb@mageia.org>2018-03-04 01:05:45 +0200
commit69a1aac5c081ffe0eb1ba080faf7c84dbd58f3e3 (patch)
treebeb300b0663fa85c69181dd9d259989dd5d0bb63
parentd55137bde82727715502e298abaf39abbe7894e7 (diff)
downloadpuppet-69a1aac5c081ffe0eb1ba080faf7c84dbd58f3e3.tar
puppet-69a1aac5c081ffe0eb1ba080faf7c84dbd58f3e3.tar.gz
puppet-69a1aac5c081ffe0eb1ba080faf7c84dbd58f3e3.tar.bz2
puppet-69a1aac5c081ffe0eb1ba080faf7c84dbd58f3e3.tar.xz
puppet-69a1aac5c081ffe0eb1ba080faf7c84dbd58f3e3.zip
sshd: disable UsePAM
-rw-r--r--modules/openssh/templates/sshd_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openssh/templates/sshd_config b/modules/openssh/templates/sshd_config
index d690cb77..9720a8dd 100644
--- a/modules/openssh/templates/sshd_config
+++ b/modules/openssh/templates/sshd_config
@@ -89,7 +89,7 @@ PasswordAuthentication no
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
-UsePAM yes
+UsePAM no
# Accept locale-related environment variables
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES