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

Have a Linux Issue?
Do you have a Linux Question?

Linux Home: Linux System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.