Rename the user group developers
to devs
:
groupmod -n devs developers
Change the GID of the user group testers
to 1001
:
groupmod -g 1001 testers
Add the user alice
to the user group developers
:
groupmod -a -G developers alice
Set the password of the user group staff
to password
:
groupmod -p password staff
Allow non-unique GID:
groupmod -o developers
Set the GID range of the user group users
to 1000-2000
:
groupmod -R 1000-2000 users