Linux Certification, System Administration, Programming, Networking Books
How user itself know their password expiration details?

What is the command to know the password expiration details for users?
Root user can know the details.  But how user itself know their password expiration details?

Just login and enter the command at the console  : chage  -l  <username>

Hope this will give you the expiration details of your account.

Note: you can specify only the username  that you have logged in as.

This can be done from anywhere

Anyone know how to set the password expiration Date?
In command line ?

Yup. man chage

Quick Links:
Do you have a Linux Question?

Linux Home: Linux System Administration Hints and Tips