Monday, April 21, 2008

Remove Unix User Expiry Date

To remove expiry date of a user's password the following command can be used:
usermod -e "" username
The command will change shadow file, not manually. The value of parameter -e can be a date to set a new expiry date.

No comments: