- Linux Training
- Desktop Tutorials
- Server Tutorials
|Linux Commands - Manage Users and Groups|
chage Check Password
The command chage -l can be used to show the status of a user's password protection. Let's say you wanted to check the status of diane's password.
chage -l diane
Using the expire option will allow the administrator to lock down an account without destroying the data so that it may be available for a short time.
chage -E /06/08/03 mike
This option is valuable for temporary accounts as well.
A directory could be created to hold the user's files for a time.
mkdir /mikeold: chmod 000 /mikeold
This will protect the data from being changed.