Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: SV-238235 is looking for pam_tally instead of pam_faillock #19

Open
pbarrette opened this issue Feb 10, 2023 · 0 comments
Open

BUG: SV-238235 is looking for pam_tally instead of pam_faillock #19

pbarrette opened this issue Feb 10, 2023 · 0 comments

Comments

@pbarrette
Copy link

The STIG is looking for the pam_faillock.so module, but the control is searching for the pam_tally module

A correction would be something like this:

    describe command('grep faillock /etc/pam.d/common-auth') do
      its('exit_status') { should eq 0 }
      its('stdout.strip') { should match(/^\s*auth\s+\[default=die\]\s+pam_faillock.so\s+authfail$/) }
      its('stdout.strip') { should match(/^\s*auth\s+sufficient\s+pam_faillock.so\s+authsucc$/) }
    end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant