Merge pull request #36 from dantremblay/CRA_yes
Change default value for sshd_config_challenge_resp_auth to 'yes'
This commit is contained in:
commit
ebeb263b74
@ -114,7 +114,7 @@ sshd_config_challenge_resp_auth
|
|||||||
-------------------------------
|
-------------------------------
|
||||||
ChallengeResponseAuthentication option in sshd_config.
|
ChallengeResponseAuthentication option in sshd_config.
|
||||||
|
|
||||||
- *Default*: 'no'
|
- *Default*: 'yes'
|
||||||
|
|
||||||
sshd_config_print_motd
|
sshd_config_print_motd
|
||||||
----------------------
|
----------------------
|
||||||
|
@ -22,7 +22,7 @@ class ssh (
|
|||||||
$sshd_config_port = '22',
|
$sshd_config_port = '22',
|
||||||
$sshd_config_syslog_facility = 'AUTH',
|
$sshd_config_syslog_facility = 'AUTH',
|
||||||
$sshd_config_login_grace_time = '120',
|
$sshd_config_login_grace_time = '120',
|
||||||
$sshd_config_challenge_resp_auth = 'no',
|
$sshd_config_challenge_resp_auth = 'yes',
|
||||||
$sshd_config_print_motd = 'yes',
|
$sshd_config_print_motd = 'yes',
|
||||||
$sshd_config_use_dns = 'yes',
|
$sshd_config_use_dns = 'yes',
|
||||||
$sshd_config_banner = 'none',
|
$sshd_config_banner = 'none',
|
||||||
|
@ -53,7 +53,7 @@ describe 'ssh' do
|
|||||||
it { should contain_file('sshd_config').with_content(/^SyslogFacility AUTH$/) }
|
it { should contain_file('sshd_config').with_content(/^SyslogFacility AUTH$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^LoginGraceTime 120$/) }
|
it { should contain_file('sshd_config').with_content(/^LoginGraceTime 120$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^PermitRootLogin yes$/) }
|
it { should contain_file('sshd_config').with_content(/^PermitRootLogin yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^ChallengeResponseAuthentication no$/) }
|
it { should contain_file('sshd_config').with_content(/^ChallengeResponseAuthentication yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^PrintMotd yes$/) }
|
it { should contain_file('sshd_config').with_content(/^PrintMotd yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^UseDNS yes$/) }
|
it { should contain_file('sshd_config').with_content(/^UseDNS yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^Banner none$/) }
|
it { should contain_file('sshd_config').with_content(/^Banner none$/) }
|
||||||
@ -135,7 +135,7 @@ describe 'ssh' do
|
|||||||
it { should contain_file('sshd_config').with_content(/^SyslogFacility AUTH$/) }
|
it { should contain_file('sshd_config').with_content(/^SyslogFacility AUTH$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^LoginGraceTime 120$/) }
|
it { should contain_file('sshd_config').with_content(/^LoginGraceTime 120$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^PermitRootLogin yes$/) }
|
it { should contain_file('sshd_config').with_content(/^PermitRootLogin yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^ChallengeResponseAuthentication no$/) }
|
it { should contain_file('sshd_config').with_content(/^ChallengeResponseAuthentication yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^PrintMotd yes$/) }
|
it { should contain_file('sshd_config').with_content(/^PrintMotd yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^UseDNS yes$/) }
|
it { should contain_file('sshd_config').with_content(/^UseDNS yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^Banner none$/) }
|
it { should contain_file('sshd_config').with_content(/^Banner none$/) }
|
||||||
@ -218,7 +218,7 @@ describe 'ssh' do
|
|||||||
it { should contain_file('sshd_config').with_content(/^SyslogFacility AUTH$/) }
|
it { should contain_file('sshd_config').with_content(/^SyslogFacility AUTH$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^LoginGraceTime 120$/) }
|
it { should contain_file('sshd_config').with_content(/^LoginGraceTime 120$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^PermitRootLogin yes$/) }
|
it { should contain_file('sshd_config').with_content(/^PermitRootLogin yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^ChallengeResponseAuthentication no$/) }
|
it { should contain_file('sshd_config').with_content(/^ChallengeResponseAuthentication yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^PrintMotd yes$/) }
|
it { should contain_file('sshd_config').with_content(/^PrintMotd yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^UseDNS yes$/) }
|
it { should contain_file('sshd_config').with_content(/^UseDNS yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^Banner none$/) }
|
it { should contain_file('sshd_config').with_content(/^Banner none$/) }
|
||||||
@ -301,7 +301,7 @@ describe 'ssh' do
|
|||||||
it { should contain_file('sshd_config').with_content(/^SyslogFacility AUTH$/) }
|
it { should contain_file('sshd_config').with_content(/^SyslogFacility AUTH$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^LoginGraceTime 120$/) }
|
it { should contain_file('sshd_config').with_content(/^LoginGraceTime 120$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^PermitRootLogin yes$/) }
|
it { should contain_file('sshd_config').with_content(/^PermitRootLogin yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^ChallengeResponseAuthentication no$/) }
|
it { should contain_file('sshd_config').with_content(/^ChallengeResponseAuthentication yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^PrintMotd yes$/) }
|
it { should contain_file('sshd_config').with_content(/^PrintMotd yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^UseDNS yes$/) }
|
it { should contain_file('sshd_config').with_content(/^UseDNS yes$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^Banner none$/) }
|
it { should contain_file('sshd_config').with_content(/^Banner none$/) }
|
||||||
@ -401,7 +401,7 @@ describe 'ssh' do
|
|||||||
:sshd_config_syslog_facility => 'DAEMON',
|
:sshd_config_syslog_facility => 'DAEMON',
|
||||||
:sshd_config_login_grace_time => '60',
|
:sshd_config_login_grace_time => '60',
|
||||||
:permit_root_login => 'no',
|
:permit_root_login => 'no',
|
||||||
:sshd_config_challenge_resp_auth => 'yes',
|
:sshd_config_challenge_resp_auth => 'no',
|
||||||
:sshd_config_print_motd => 'no',
|
:sshd_config_print_motd => 'no',
|
||||||
:sshd_config_use_dns => 'no',
|
:sshd_config_use_dns => 'no',
|
||||||
:sshd_config_banner => '/etc/sshd_banner',
|
:sshd_config_banner => '/etc/sshd_banner',
|
||||||
@ -430,7 +430,7 @@ describe 'ssh' do
|
|||||||
it { should contain_file('sshd_config').with_content(/^SyslogFacility DAEMON$/) }
|
it { should contain_file('sshd_config').with_content(/^SyslogFacility DAEMON$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^LoginGraceTime 60$/) }
|
it { should contain_file('sshd_config').with_content(/^LoginGraceTime 60$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^PermitRootLogin no$/) }
|
it { should contain_file('sshd_config').with_content(/^PermitRootLogin no$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^ChallengeResponseAuthentication yes$/) }
|
it { should contain_file('sshd_config').with_content(/^ChallengeResponseAuthentication no$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^PrintMotd no$/) }
|
it { should contain_file('sshd_config').with_content(/^PrintMotd no$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^UseDNS no$/) }
|
it { should contain_file('sshd_config').with_content(/^UseDNS no$/) }
|
||||||
it { should contain_file('sshd_config').with_content(/^Banner \/etc\/sshd_banner$/) }
|
it { should contain_file('sshd_config').with_content(/^Banner \/etc\/sshd_banner$/) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user