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

Ubuntu 22.04 CIS modify password remember rule #10480

Merged
merged 2 commits into from
Apr 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: sle12,sle15,ubuntu2004,ubuntu2204
prodtype: sle12,sle15,ubuntu2004

title: 'Limit Password Reuse'

Expand All @@ -27,7 +27,6 @@ references:
cis@sle12: 5.3.3
cis@sle15: 5.3.3
cis@ubuntu2004: 5.3.3
cis@ubuntu2204: 5.4.3
disa: CCI-000200
nist@sle12: IA-5(1)(e),IA-5 (1).1(v)
srg: SRG-OS-000077-GPOS-00045
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

{{{ bash_instantiate_variables("var_password_pam_unix_remember") }}}

{{{ bash_ensure_pam_module_options('/etc/pam.d/common-password', 'password', '[success=1 default=ignore]', 'pam_unix.so', 'obscure sha512 shadow remember', "$var_password_pam_unix_remember", "$var_password_pam_unix_remember") }}}
{{{ bash_ensure_pam_module_options('/etc/pam.d/common-password', 'password', '\[success=[[:alnum:]].*\]', 'pam_unix.so', 'remember', "$var_password_pam_unix_remember", "$var_password_pam_unix_remember") }}}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: fedora,ol7,ol8,ol9,rhel7,rhel8,rhel9,rhv4,sle12,sle15,ubuntu2004
prodtype: fedora,ol7,ol8,ol9,rhel7,rhel8,rhel9,rhv4,sle12,sle15,ubuntu2004,ubuntu2204

title: 'Limit Password Reuse'

Expand Down Expand Up @@ -32,6 +32,7 @@ references:
cis-csc: 1,12,15,16,5
cis@rhel7: 5.4.4
cis@rhel8: 5.4.3
cis@ubuntu2204: 5.4.3
cjis: 5.6.2.1.1
cobit5: DSS05.04,DSS05.05,DSS05.07,DSS05.10,DSS06.03,DSS06.10
cui: 3.5.8
Expand Down
2 changes: 1 addition & 1 deletion products/ubuntu2204/profiles/cis_level1_server.profile
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ selections:

### 5.4.3 Ensure password reuse is limited (Automated)
- var_password_pam_remember=5
- accounts_password_pam_pwhistory_remember
- accounts_password_pam_unix_remember

### 5.4.4 Ensure password hashing algorithm is up to date with the latest standards (Automated)
- var_password_hashing_algorithm=yescrypt
Expand Down