Skip to content

Commit

Permalink
rewrite accounts_passwords_pam_faillock_deny rule to use
Browse files Browse the repository at this point in the history
pam_account_password_faillock template
  • Loading branch information
a-skr committed May 5, 2024
1 parent f525060 commit 6ad26f8
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 797 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,14 @@ warnings:
srg_requirement: |-
{{{ full_name }}} must automatically lock an account when three unsuccessful logon attempts occur.
template:
name: pam_account_password_faillock
vars:
prm_name: deny
prm_regex_conf: ^[\s]*deny[\s]*=[\s]*([0-9]+)
prm_regex_pamd: ^[\s]*auth[\s]+.+[\s]+pam_faillock.so[\s]+[^\n]*deny=([0-9]+)
ext_variable: var_accounts_passwords_pam_faillock_deny
description: Lockout account after failed login attempts.
variable_upper_bound: use_ext_variable
variable_lower_bound: 0

0 comments on commit 6ad26f8

Please sign in to comment.