Chinaunix首页 | 论坛 | 博客
  • 博客访问: 18842
  • 博文数量: 12
  • 博客积分: 265
  • 博客等级: 二等列兵
  • 技术积分: 105
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-15 08:28
文章分类

全部博文(12)

文章存档

2011年(12)

我的朋友
最近访客

分类: LINUX

2011-05-16 16:35:18

File: *manpages*,  Node: groupadd,  Up: (dir)

GROUPADD(8)               System Management Commands               GROUPADD(8)

NAME

       groupadd - create a new group

SYNOPSIS

       groupadd [-g gid [-o]] [-r] [-f] [-K KEY=VALUE] group

DESCRIPTION

       The groupadd command creates a new group account using the values

       specified on the command line and the default values from the system.

       The new group will be entered into the system files as needed.

OPTIONS

       The options which apply to the groupadd command are:

       -f This option causes to just exit with success status if the specified

          group already exists. With -g, if specified GID already exists,

          other (unique) GID is chosen (i.e.  -g is turned off).

       -r This flag instructs groupadd to add a system account.  The first

          available gid lower than 499 will be automatically selected unless

          the -g option is also given on the command line. This is an option

          added by Red Hat.

       -g GID

          The numerical value of the groupâ

阅读(401) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~