Usermod-a indicates to append an object to the original group.

Source: Internet
Author: User
Usermod-a indicates to append the groupaddgroup1groupaddgroup2useradduser1usermod-Ggroup1user1iduser1uid1006 (user1) gid1014 (user1) group 1014 (user1), 1013 (group1) on the basis of the original group) usermod-a indicates adding groupadd group1 groupadd group2 useradd user1 usermod-G group1 user1 id user1 uid = 1006 (user1) gid = 1014 (user1) group = 1014 (user1), 1013 (group1) usermod-G group2 user1 id user1 uid = 1006 (user1) gid = 1014 (user1) group = 1014 (user1 ), 1010 (group2) useradd user2 usermod-G group1 user2 id user2 uid = 1007 (user2) gid = 1015 (user2) group = 1015 (user2), 1013 (group1) usermod-a-G group2 user2 id user2 uid = 1007 (user2) gid = 1015 (user2) group = 1015 (user2), 1010 (group2), 1013 (group1)
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.