I referenced some commands that would allow me to monitor a user account's status. 'chage' is one of those commands:
I'd use the 'usermod' or 'chage' commands to change the expiration date (using sudo):ron@slackbox:~$ sudo chage -l norPassword:Last password change : May 10, 2015Password expires : neverPassword inactive : neverAccount expires : May 15, 2015Minimum number of days between password change : 0Maximum number of days between password change : 99999Number of days of warning before password expires : 7
usermod -e yyyy-mm-dd usernameI'll use the above commands in a few days just to test.
chage -E yyyy-mm-dd username
To check if the password has expired, use the following:
grep ‘username’ /etc/shadowThe following command would re-enable an expired password:
password -u usernameI encourage you to read the chage and passwd manual pages for further insight on how to use these two commands.
I know these are simple commands and the process itself is simple, but again, I've never done this before and wanted to share what I've learned...someone out there will learn from my experience.