OS version - XUBUNTU 11.10
I created a user account and am trying to setup password aging and expiry notification. It just doesn't appear to be working. The account is set to expire today (Aug 6th) but not only is it not expired, I do not see any warning message either when I login under that user.
From what I gather the "chage" and "passwd -x" commands do the same thing. I've tried both. Here is the status of the account.
What am I doing wrong?
Code:
defguss@ubuntu01-vm:~$ date
Mon Aug 6 08:51:37 EDT 2012
defguss@ubuntu01-vm:~$ sudo passwd -S rhenshaw
rhenshaw P 08/03/2012 0 3 1 -1
defguss@ubuntu01-vm:~$ sudo chage -l rhenshaw
Last password change : Aug 03, 2012
Password expires : Aug 06, 2012
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 3
Number of days of warning before password expires : 1