Linux Command Encyclopedia disk maintenance: Usermod

Source: Internet
Author: User
Keywords Linux Command Encyclopedia usermod disk maintenance
Tags aliyun command encyclopedia date directory disk disk maintenance function group

Function Description: Modify user account.

Grammar: usermod&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-lu] [C < PS] [-D < Login directory] [e < expiry date] [F < buffer days] [G < Group] [G < Group] [L < account name] [-s <shell>] [-u <uid>] [User Account]

Supplemental Note: Usermod can be used to modify the user account settings.

Parameters:
-c< Notes > Modify the Notes text for the user account.
-D Login Directory > Modify user login directory.
-e< expiry date > change the expiration period of account number.
-f< Buffer days > Modify the number of days after the password expires to close the account.
-g< Group > Modify the group to which the user belongs.
-g< Group > Modify the additional groups to which users belong.
-l< Account name > Modify user account name.
-L LOCK the user's password to invalidate the password.
-s<shell> modifies the shell used by the user upon login.
-u<uid> Modify the User ID.
-U unlocks password.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.