Answers:
groupmod
应该工作正常:
$ groupmod --help
Usage: groupmod [options] GROUP
Options:
-g, --gid GID change the group ID to GID
-h, --help display this help message and exit
-n, --new-name NEW_GROUP change the name to NEW_GROUP
-o, --non-unique allow to use a duplicate (non-unique) GID
-p, --password PASSWORD change the password to this (encrypted)
PASSWORD
像这样使用它:
groupmod --new-name NEW_GROUP_NAME OLD_GROUP_NAME