about 2 years, 7 months ago
Tags: Operating Systems, Operating systems
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.
You are posting a reply to:
Add New User with Specific Expire Date
Track this discussion and email me when there are updates
about 2 years, 5 months ago
In reply to Add New User with Specific Expire Date
You need to add -e option with useradd command like below.
#useradd -e 2014-03-27 aman
-e, –expiredate EXPIRE_DATE expiration date of the new account