groupmod 中文man页面

系统
需要更改群组的识别码或名称时,可用groupmod指令来完成这项工作。

NAME

groupmod - 修 改 群 组  

总览 SYNOPSIS

groupmod [-g gid [-o]] [-n group_name ] group  

描述 DESCRIPTION

groupmod 命 令 会 参 照 你 命 令 列 上 指 定 的 部 份 修 改 系 统 帐 号 档 。 下 列 为 groupmod 可 选 用 的 参 数 。

-g gid
群 组 I D 值 。 必 须 为 唯 一 的 ID 值 , 除 非 用 -o 选 项 。 数 字 不 可 为 负 值。预 设 为 最 小 不 得 小 于 99 而 逐 次 增 加 。 0~99 传 统 上 是 保 留 给 系 统 帐 号 使 用 。 如 果 有 档 案 使 用 旧 的 群 组 ID , 而 这 时 候 你 新 增 的 群 组 ID 恰 好 与 旧 的 相 同 , 这 样 的 话 你 要 手 动 改 一 下 这 些 档 案 的 群 组 ID 。
-n group_name
更 改 群 组 名 。

文件 FILES

/etc/group - group information
/etc/gshadow - secure group information  

参见 SEE ALSO

chfn(1), chsh(1), passwd(1), groupadd(8), groupdel(8), useradd(8), userdel(8), usermod(8) 

#p#

NAME

groupmod - Modify a group  

SYNOPSIS

groupmod [-g gid [-o]] [-n group_name ] group  

DESCRIPTION

The groupmod command modifies the system account files to reflect the changes that are specified on the command line. The options which apply to the groupmod command are

-g gid
The numerical value of the group's ID. This value must be unique, unless the -o option is used. The value must be non-negative. Values between 0 and 99 are typically reserved for system groups. Any files which the old group ID is the file group ID must have the file group ID changed manually.
-n group_name
The name of the group will be changed from group to group_name.

FILES

/etc/group - group information
/etc/gshadow - secure group information  

SEE ALSO

chfn(1), chsh(1), passwd(1), groupadd(8), groupdel(8), useradd(8), userdel(8), usermod(8)  

AUTHOR

Julianne Frances Haugh (jockgrrl@ix.netcom.com)

责任编辑:韩亚珊 来源: 互联网
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-23 11:18:30

hdparm中文man

2011-08-25 13:51:48

accept中文man

2011-08-15 13:14:44

rmdir中文man

2011-08-15 17:50:15

dump中文man

2011-08-18 15:40:56

complex中文man

2011-11-01 13:46:50

中文mantac

2011-08-25 16:42:37

ftell中文man

2011-08-25 16:44:46

ftrylockfil中文man

2011-08-25 16:55:26

gets中文man

2011-08-25 17:18:07

putc中文man

2011-08-25 17:30:26

setbuf中文man

2011-08-25 15:47:06

fopen中文man

2011-08-25 15:49:02

freopen中文man

2011-08-25 15:51:06

feof中文man

2011-08-25 16:00:56

fflush中文man

2011-08-25 16:06:20

fgetc中文man
点赞
收藏

51CTO技术栈公众号