Skip to content

Commit

Permalink
Implement rule 5.3.3.2.4 Ensure password same consecutive characters …
Browse files Browse the repository at this point in the history
…is configured
  • Loading branch information
alanmcanonical committed Dec 19, 2024
1 parent 7708eb8 commit 952a287
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions controls/cis_ubuntu2404.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1880,8 +1880,10 @@ controls:
levels:
- l1_server
- l1_workstation
status: planned
notes: TODO. Rule does not seem to be implemented, nor does it map to any rules in ubuntu2204 profile.
rules:
- var_password_pam_maxrepeat=3
- accounts_password_pam_maxrepeat
status: automated

- id: 5.3.3.1.1
title: Ensure password failed attempts lockout is configured (Automated)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ template:
vars:
variable: maxrepeat
operation: less than or equal
{{%- if product == "ubuntu2404" %}}
zero_comparison_operation: greater than
{{%- endif %}}

fixtext: |-
Configure {{{ full_name }}} to require the change of the number of repeating consecutive characters when passwords are changed by setting the "maxrepeat" option.
Expand Down

0 comments on commit 952a287

Please sign in to comment.