groupmod
Modify existing user groups in the system. See also: groups, groupadd, groupdel. More information: <https://manned.org/groupmod>.
Install
- All systems
-
curl cmd.cat/groupmod.sh
- Debian
-
apt-get install passwd
- Ubuntu
-
apt-get install passwd
- Alpine
-
apk add shadow
- Arch Linux
-
pacman -S shadow
- Kali Linux
-
apt-get install passwd
- Fedora
-
dnf install shadow-utils-2
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install passwd
- Raspbian
-
apt-get install passwd
- Dockerfile
- dockerfile.run/groupmod
- Docker
-
docker run cmd.cat/groupmod groupmod
powered by Commando
Modify existing user groups in the system. See also: groups, groupadd, groupdel. More information: <https://manned.org/groupmod>.
-
Change the group name:
sudo groupmod --new-name new_group group_name
-
Change the group id:
sudo groupmod --gid new_id group_name
© tl;dr; authors and contributors