CentOS Stream 9
Sponsored Link

Commands Help

Command :   Back to index

groupmod : modify a group definition on the system
[SYNOPSIS] groupmod OPTION GROUP
OPTION
-a append the users mentioned by -U option to the groupwithout removing existing user members
-g GID change the group ID to GID
# groupmod -g 600 group
change the GID of 'group' to 600
-n NEW_GROUP change the name to NEW_GROUP
-o allow to use a duplicate (non-unique) GID
-p PASSWORD change the password to this (encrypted) PASSWORD
-R CHROOT_DIR directory to chroot into
-P PREFIX_DIR prefix directory where are located the /etc/* files
-U USERS list of user members of this group

Matched Content