Use pam_pwhistory for ubuntu 22.04 #72
Annotations
4 errors
spec/classes/rules/pam_old_passwords_spec.rb#L44
cis_security_hardening::rules::pam_old_passwords on debian-11-x86_64 with enforce = true is expected to contain Pam[pam-common-password-requisite-pwhistory] with ensure => "present", service => "common-password", type => "password", control => "required", module => "pam_pwhistory.so", position => "before *[type=\"password\" and module=\"pam_unix.so\"]" and arguments => ["use_authok", "remember=5"]
Failure/Error:
is_expected.to contain_pam('pam-common-password-requisite-pwhistory')
.with(
'ensure' => 'present',
'service' => 'common-password',
'type' => 'password',
'control' => 'required',
'module' => 'pam_pwhistory.so',
'position' => 'before *[type="password" and module="pam_unix.so"]',
'arguments' => ['use_authok', 'remember=5'],
)
expected that the catalogue would contain Pam[pam-common-password-requisite-pwhistory]
|
spec/classes/rules/pam_old_passwords_spec.rb#L44
cis_security_hardening::rules::pam_old_passwords on debian-12-x86_64 with enforce = true is expected to contain Pam[pam-common-password-requisite-pwhistory] with ensure => "present", service => "common-password", type => "password", control => "required", module => "pam_pwhistory.so", position => "before *[type=\"password\" and module=\"pam_unix.so\"]" and arguments => ["use_authok", "remember=5"]
Failure/Error:
is_expected.to contain_pam('pam-common-password-requisite-pwhistory')
.with(
'ensure' => 'present',
'service' => 'common-password',
'type' => 'password',
'control' => 'required',
'module' => 'pam_pwhistory.so',
'position' => 'before *[type="password" and module="pam_unix.so"]',
'arguments' => ['use_authok', 'remember=5'],
)
expected that the catalogue would contain Pam[pam-common-password-requisite-pwhistory]
|
spec/classes/rules/pam_old_passwords_spec.rb#L44
cis_security_hardening::rules::pam_old_passwords on ubuntu-22.04-x86_64 with enforce = true is expected to contain Pam[ubuntu-remember-old-pw] with ensure => "present", service => "common-password", type => "password", control => "[success=1 default=ignore]", control_is_param => true, module => "pam_unix.so", arguments => ["obscure", "use_authok", "try_first_pass", "yescrypt", "remember=5"] and position => "before *[type=\"password\" and module=\"pam_deny.so\"]"
Failure/Error:
is_expected.to contain_pam('ubuntu-remember-old-pw')
.with(
'ensure' => 'present',
'service' => 'common-password',
'type' => 'password',
'control' => '[success=1 default=ignore]',
'control_is_param' => true,
'module' => 'pam_unix.so',
'arguments' => ['obscure', 'use_authok', 'try_first_pass', 'yescrypt', 'remember=5'],
'position' => 'before *[type="password" and module="pam_deny.so"]',
expected that the catalogue would contain Pam[ubuntu-remember-old-pw]
|
|
The logs for this run have expired and are no longer available.
Loading