fix incorrect variable sshd_permit_empty_passwords
This commit is contained in:
parent
ef6f137cff
commit
213f5c47db
4 changed files with 4 additions and 4 deletions
|
@ -106,7 +106,7 @@ PasswordAuthentication no
|
|||
<%- end %>
|
||||
|
||||
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
||||
<%- if real_sshd_empty_passwords.to_s == 'yes' then %>
|
||||
<%- if real_sshd_permit_empty_passwords.to_s == 'yes' then %>
|
||||
PermitEmptyPasswords yes
|
||||
<% else -%>
|
||||
PermitEmptyPasswords no
|
||||
|
|
|
@ -88,7 +88,7 @@ HostbasedAuthentication no
|
|||
#IgnoreUserKnownHosts yes
|
||||
|
||||
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
||||
<%- if real_sshd_empty_passwords.to_s == 'yes' then %>
|
||||
<%- if real_sshd_permit_empty_passwords.to_s == 'yes' then %>
|
||||
PermitEmptyPasswords yes
|
||||
<% else -%>
|
||||
PermitEmptyPasswords no
|
||||
|
|
|
@ -109,7 +109,7 @@ PasswordAuthentication no
|
|||
<%- end %>
|
||||
|
||||
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
||||
<%- if real_sshd_empty_passwords.to_s == 'yes' then %>
|
||||
<%- if real_sshd_permit_empty_passwords.to_s == 'yes' then %>
|
||||
PermitEmptyPasswords yes
|
||||
<% else -%>
|
||||
PermitEmptyPasswords no
|
||||
|
|
|
@ -102,7 +102,7 @@ PasswordAuthentication no
|
|||
<%- end %>
|
||||
|
||||
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
||||
<%- if real_sshd_empty_passwords.to_s == 'yes' then %>
|
||||
<%- if real_sshd_permit_empty_passwords.to_s == 'yes' then %>
|
||||
PermitEmptyPasswords yes
|
||||
<% else -%>
|
||||
PermitEmptyPasswords no
|
||||
|
|
Loading…
Reference in a new issue