首页
首页 » 系统管理 » groupmod(group modify)

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

-g gid

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.

-n name

Change the group name to name.

-o

Override. Accept a nonunique gid.