[root@kvm7 ~]# groupadd deyugrp
[root@kvm7 ~]# getent group deyugrp deyugrp:x:1000:
[root@kvm7 ~]# 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 -R, --root CHROOT_DIR directory to chroot into
[root@kvm7 ~]# groupmod -n sharegrp deyugrp
[root@kvm7 ~]# getent group sharegrp sharegrp:x:1000: