One, group account file
The group account file consists of two parts:/etc/group,/etc/gshadow, which holds the group account name, GID number, group members and other information, the latter is used to save the group account of the encrypted string, etc. (but rarely used).
Second, add, delete, modify group account
1. Groupadd command--Add group account
Command format: Groupadd "Options" group account
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7C/BF/wKioL1bXp9PCV_G6AAA6nANveH0800.jpg "title=" 1.jpg " alt= "Wkiol1bxp9pcv_g6aaa6nanveh0800.jpg"/>
2. GPASSWD command--Add, set, delete group members
Command format: gpasswd "Options" Member name Group name
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7C/C1/wKiom1bXqgPQLwjTAACOunT543E956.jpg "title=" 2.jpg " alt= "Wkiom1bxqgpqlwjtaacount543e956.jpg"/>
650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M02/7C/C0/wKioL1bXq1qA2BzNAABbfBkUW4o698.jpg "title=" 3.jpg " alt= "Wkiol1bxq1qa2bznaabbfbkuw4o698.jpg"/>
3,groupdel Command--delete group account
Command format: Groupdel Group name
650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M01/7C/C0/wKioL1bXrCXyxJ17AAANp4J-D1w191.jpg "title=" 4.jpg " alt= "Wkiol1bxrcxyxj17aaanp4j-d1w191.jpg"/>
This article is from the "New Start" blog, so be sure to keep this source http://yuanshuai.blog.51cto.com/10539781/1747057
Linux basic Commands-group account management