1.创建组
语法:groupadd 组名
2.删除组
语法:groupdel 组名
3.创建用户时,直接指定组
语法:useradd -g 用户组 用户名
4.修改用户的组
语法:usermod -g 用户组 用户名