Enforce new password rules for linux os accounts, the new rules are:
- 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: Run fresh install of AIO-SX with complete bootstrap and unlock
of the controller-0.
PASS: Run build-pkgs -c -p pam-config.
PASS: Run build-image.
PASS: Change password 5 times and then try to use the first password of
the sequence again to verify if it is using password history.
PASS: Try password without at least 1 letter.
PASS: Try password without at least one number.
PASS: Try password without at least one special character.
PASS: Try password with less than 12 character and verify if it fails.
PASS: Access account and change password using serial console.
Story: 2011084
Task: 49821
Change-Id: Ia2629bbbc09038a9aa2a1742eca335e3d22bfaff
Signed-off-by: Karla Felix <karla.karolinenogueirafelix@windriver.com>