groupadd
Add user groups to the system. See also: groups, groupdel, groupmod. More information: <https://manned.org/groupadd>.
Install
- All systems
-
curl cmd.cat/groupadd.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/groupadd
- Docker
-
docker run cmd.cat/groupadd groupadd
powered by Commando
Add user groups to the system. See also: groups, groupdel, groupmod. More information: <https://manned.org/groupadd>.
-
Create a new group:
sudo groupadd group_name
-
Create a new system group:
sudo groupadd --system group_name
-
Create a new group with the specific groupid:
sudo groupadd --gid id group_name
© tl;dr; authors and contributors