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-11 15:03:21

ACCESS中文man

2011-08-16 10:59:16

pwconv中文man

2011-08-19 18:30:52

ipc中文man

2011-08-25 17:18:07

putc中文man

2011-08-15 13:53:19

stat中文man

2011-08-25 15:24:31

execlp中文man

2011-08-15 18:06:07

restore中文man

2011-08-15 15:45:04

xpdf中文man

2011-08-24 17:06:42

NOTIFY中文man

2011-08-15 14:42:28

uname中文man

2011-08-15 11:30:37

pwd中文man

2011-08-23 14:24:42

ping中文man

2011-08-15 11:01:45

2011-08-25 17:15:16

printf中文man

2011-08-25 16:44:46

ftrylockfil中文man

2011-08-23 17:24:11

userdel中文man
点赞
收藏

51CTO技术栈公众号