Hands-on task
This task is step 6 of the course “New server: setup from scratch”
The admin password lives 60 days
The contract with the client requires administrators to change their password at least every two months. Set the maximum password age for user anna to 60 days.
Reference:chage
What you'll practise:
- chage
- password expiry
- /etc/shadow
- password policy