Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Sorry to add this on a quite ancient thread but it can be helpful. (And yet it is in the top hits on the search engines. So could be useful.)
Just good to know that on recent linux systems there is a shadow file and there is the last number. (Before the last ":" separator.) It is the number of days since 1970.jan.01 when the account is going to be expired. The preceding number is the number of days for the grace period in days for disabling the account. (The curious reader can find further useful info on the other relevant fields of the shadow file now on.)
(So - If you back up the shadow file you back up the expiry dates too. Other hand if there is a user who can read the shadow file you can create a script to find out the expiry date and even if it exists.)
Other hand: Many Thanks markus1982 for the apropos command. And Best Wishes for geekgrl asking for it! Best Wishes for You two!