Question

  • Creator
    Topic
  • #2144702

    Add New User with Specific Expire Date

    by samueltarcin9999 ·

    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

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.

All Answers

  • Author
    Replies
    • #2418322

      useradd with expire date

      by amansingh41 ·

      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

Viewing 0 reply threads