新建群组
语法:
groupadd [-g gid [-o]] [-r] [-f] group
选项:
-g 指定组id
-r 新建系统用户组
实例:
[root@www1 ~]# groupadd -g 770 xxx [root@www1 ~]# tail -1 /etc/group xxx:x:770: [root@www1 ~]# tail -1 /etc/gshadow xxx:!:: [root@www1 ~]#
原文:http://blog.51cto.com/12107790/2151114