aboutsummaryrefslogtreecommitdiff
path: root/templates/sshd_config/OpenBSD_normal.erb
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-09-26 17:51:12 -0400
committerMicah Anderson <micah@riseup.net>2008-09-26 17:51:12 -0400
commit58fef5f8092b937caa2a11648f3937e17f718d81 (patch)
tree09318f6b69ee24632a71e2c2368f7f83a1fded4f /templates/sshd_config/OpenBSD_normal.erb
parentd2b60a477aceec818c79bae901cfb7068e85985e (diff)
downloadpuppet-sshd-58fef5f8092b937caa2a11648f3937e17f718d81.tar.gz
puppet-sshd-58fef5f8092b937caa2a11648f3937e17f718d81.tar.bz2
add variable sshd_permit_empty_passwords, with the default set to no
Diffstat (limited to 'templates/sshd_config/OpenBSD_normal.erb')
-rw-r--r--templates/sshd_config/OpenBSD_normal.erb8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/sshd_config/OpenBSD_normal.erb b/templates/sshd_config/OpenBSD_normal.erb
index 1de6a55..dd6bb69 100644
--- a/templates/sshd_config/OpenBSD_normal.erb
+++ b/templates/sshd_config/OpenBSD_normal.erb
@@ -91,7 +91,13 @@ PasswordAuthentication yes
<%- else %>
PasswordAuthentication no
<%- end %>
-#PermitEmptyPasswords no
+
+# To enable empty passwords, change to yes (NOT RECOMMENDED)
+<%- if real_sshd_empty_passwords.to_s == 'yes' then %>
+PermitEmptyPasswords yes
+<% else -%>
+PermitEmptyPasswords no
+<% end -%>
# Change to no to disable s/key passwords
<%- if real_sshd_challenge_response_authentication.to_s == 'yes' then %>