I am using Ubuntu 18.04.
I used the command
usermod -e YYYY_MM_DD user
Now, the user's account is expired.
What command can I put in order to remove the expiration date on the user account?
I am using Ubuntu 18.04.
I used the command
usermod -e YYYY_MM_DD user
Now, the user's account is expired.
What command can I put in order to remove the expiration date on the user account?
You can undo it by running
usermod -e
again, this time passing an empty string in place of theEXPIRE_DATE
string ex.From
man usermod
: