Setting 'Password Inactive' field to 1 after setting maximum passwd age ?
I set a user, 'testus1' to have his password change every 100 days with a 12 days warning.
Code:
chage testus1 -M '100' -W '12' There's this field called 'Password Inactive [-1]' . Do I have to change this to 1 for the changes to be active ? From the man page, "Passing the number -1 as MAX_DAYS will remove checking a password's validity. " . Not sure if the -1 in the 'Password Inactive [-1]' affects the changes made. |
That's for the -M switch and you used 100, so you should be fine.
Can you post Code:
change -l testus |
All times are GMT -5. The time now is 09:55 PM. |