0

Is it possible to set expiry date to user

I need to set the expiry date for the particular user. After the date is over, the user shouldn' t be work??

Linux Add a comment
caden
asked May 18 2017

Answer

0

You can use any of the below commands.

# chage -E mm/dd/yyyy (Username)
               OR
# usermod -e mm/dd/yyyy (Username)

To list the Expiry date for that particular user,

# chage -l (Username)
Add a comment
jagannatharumugam
asked May 18 2017
edited Oct 05 2018
Post your Answer