TechRepublic|Forums|Linux
by samueltarcin9999 · about 4 years, 4 months ago
Tags: 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
Subject title
Track this discussion and email me when there are updates
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our Community FAQs for details. All submitted content is subject to our Terms of Use.
by amansingh41 · about 4 years, 1 month 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
Get the web's best business technology news, tutorials, reviews, trends, and analysis—in your inbox. Let's start with the basics.
* - indicates required fields
*
Lost your password? Request a new password
Please enter your email adress. You will receive an email message with instructions on how to reset your password.
Check your email for a password reset link. If you didn't receive an email don't forgot to check your spam folder, otherwise contact support.
This will help us provide you with customized content.
Thanks for signing up! Keep an eye out for a confirmation email from our team. To ensure any newsletters you subscribed to hit your inbox, make sure to add newsletters@nl.technologyadvice.com to your contacts list.