5.4.1.2 Ensure minimum password days is configured
Audit#
Run the following command to verify that PASS_MIN_DAYS is set to a value greater than 0and follows local site policy:
Example output:Run the following command to verify all passwords have a PASS_MIN_DAYS greater than 0:
Nothing should be returnedRemediation#
Edit /etc/login.defs and set PASS_MIN_DAYS to a value greater than 0 that follows local site policy: Example:
Run the following command to modify user parameters for all users with a password set to a minimum days greater than zero that follows local site policy:
Example
Default Value: PASS_MIN_DAYS 0