Use of user and group management groupmod under the command line interface

Source: Internet
Author: User

NAME
Groupmod-modify a group definition on the system

Synopsis
groupmod [Options] GROUP

Options:
-G,--gid GID change the group ID to GID
-H,--help display this help message and exit
-N,--new-name new_group change the name to New_group
-O,--non-unique allow to use a duplicate (Non-unique) GID
-p,--password password change the password to this (encrypted)
PASSWORD

The Groupmod command is used to change the definition of a group on the system

Syntax: groupmod [options] Group name

Options
-G,--GID GID modification Group GID number

-H,--help get information about using the Groupmod command

-N,--new-name new_group group name

-O with-g configuration, you can set a non-unique group ID value

-P Modify the password for the group

Example:

Assuming that the group Testbed,gid is already there 4000

#groupmod-N testbed-new testbed to change testbed group name to Testnbed-new

#groupmod-G testbed-new change the group ID of the Testbed-new group to 5000

Use of user and group management groupmod under the command line interface

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.