I'm by far no network admin, but I know on the PC I use at work, we need to change our passwords every 30 or 45 days.
Is there something like that on Ubuntu that can prompt users to change their passwords every 30, 45 or whatever days I specify?
When creating user accounts, you should make it a policy to have a minimum and maximum password age forcing users to change their passwords when they expire.
To easily view the current status of a user account, use the following syntax:
To set any of these values, simply use the following syntax, and follow the interactive prompts:
The following is also an example of how you can manually change the explicit expiration date (-E) to 01/31/2012, minimum password age (-m) of 5 days, maximum password age (-M) of 90 days, inactivity period (-I) of 5 days after password expiration, and a warning time period (-W) of 14 days before password expiration.
To verify changes, use the same syntax as mentioned previously:
I think you want to use the command