Add New User with Specific Expire Date


Gabriel9999
#1
I want to add a user account to my linuxbox. But this user will have specific expire time which will be specified at the useradd definition.
 
samueltarcin999
#2
You can use the -e and -f options like below.
$ useradd -e 2017-02-28 -f 60 john

For more details: https://www.poftut.com/add-new-user-account-linux/
 

Similar Threads

16
date night or date weekend in edmonton
by personal touch | Oct 18th, 2015
5
How to Link to a Specific Post?
by DavidB | Oct 7th, 2013