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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment