Skip to content

Commit 7fcdbbf

Browse files
Decrese the remember count to make it wrong
1 parent f82dba2 commit 7fcdbbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • linux_os/guide/system/accounts/accounts-pam/locking_out_password_attempts/accounts_password_pam_pwhistory_remember/tests

linux_os/guide/system/accounts/accounts-pam/locking_out_password_attempts/accounts_password_pam_pwhistory_remember/tests/ubuntu_wrong_value.fail.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name: pwhistory password history checking
1010
Default: yes
1111
Priority: 1024
1212
Password-Type: Primary
13-
Password: requisite pam_pwhistory.so remember=6 enforce_for_root try_first_pass use_authtok
13+
Password: requisite pam_pwhistory.so remember=4 enforce_for_root try_first_pass use_authtok
1414
EOF
1515

1616
DEBIAN_FRONTEND=noninteractive pam-auth-update --enable tmp_pwhistory

0 commit comments

Comments
 (0)