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)