G Gabriel Turqos Active Member Joined Mar 11, 2019 Jun 8, 2020 #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.
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.
Neemobeer Cloud Security Engineer Staff member Joined Jul 4, 2015 Location Colorado Jun 8, 2020 #2 You can specify an expiration date with the -e YYYY-MM-DD switch
edizgeorgi Active Member Joined May 31, 2019 Jun 11, 2020 #3 You can use the -e and -f options like below. $ useradd -e 2017-02-28 -f 60 john For more details: How To Add New User Account To Linux
You can use the -e and -f options like below. $ useradd -e 2017-02-28 -f 60 john For more details: How To Add New User Account To Linux