groupadd

添加群组

语法

groupadd命令增加用户组
groupadd [-g gid] group

参数

g 制定组的ID号
gid 组的ID号(不能与现有的组ID号重复)
group 组名

groupadd –g 1000 postgres