Setting and checking the expiration date of a user
I'm using CentOS 6.4 and adding a user account with an expiration date.
Syntax I've used is: useradd -e 2013-12-31 smith Now, how do I verify this is part of smith's user account? I've tried looking in /etc/passwd, but the information is not listed there. I looked in /etc/default/useradd, but that is just the default variable that is blank. I'm very new to CentOS, any help would be appreciated. |
Try this:
Code:
chage -l username |
Quote:
|
All times are GMT -5. The time now is 12:15 AM. |