groupmod(group modify)
groupmod(group modify)功能说明:更改群组识别码或名称。
语 法:groupmod [-g <群组识别码> <-o>][-n <新群组名称>][群组名称]
补充说明:需要更改群组的识别码或名称时,可用groupmod指令来完成这项工作。
参 数:
-g <群组识别码> 设置欲使用的群组识别码。
-o 重复使用群组识别码。
-n <新群组名称> 设置欲使用的群组名称
groupmod
groupmod [options] group
System administration command. Modify group information for group.
Options
Change the numerical value of the group ID. Any files that have the old gid must be changed manually. The new gid must be unique, unless the -o option is used.
Change the group name to name.
Override. Accept a nonunique gid.