SYS: Change passwords and adjust password aging for local user accounts
Note: This is an RHCSA 7 exam objective.
To assign a password to a user account (here user), type:
# passwd user
To set an expiration date to a local user account (here user), type:
# chage -E YYYY-MM-DD user
To check the result, type:
# chage -l user
Leave a comment