Change ldapsetpasswd error message

This review is changing the ldapsetpasswd error message to comply
with new password rules:
- Minimum 12 characters
- At least 1 Uppercase letter
- At least 1 number
- At least 1 special character
- Cannot reuse past 5 passwords

Test Plan:
PASS: Try to change the password that doesn't comply with the
      new rules and verify if the correct message is shown.

Story: 2011084
Task: 49863

Change-Id: I1804ee40eaeb6e11b18bcc2a65aa0ebf07cd94e2
Signed-off-by: Karla Felix <karla.karolinenogueirafelix@windriver.com>
This commit is contained in:
Karla Felix 2024-04-09 14:09:15 -03:00
parent 09b80ac7bc
commit 114648cf5e
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ index 4cde4d7..452ed0c 100755
+_BADPASSWDMESSAGE=$(cat << EOF
+BAD PASSWORD!
+Password must comply with the following rules:
+* The password must be at least 7 characters long
+* You cannot reuse the last password in history
+* The password must be at least 12 characters long
+* You cannot reuse the last 5 passwords in history
+* Every password must differ from its previous one by at least 3 characters
+* The password must contain:
+ - at least 1 lower-case character