Inhaltsverzeichnis

group

Beschreibung

Erstellt Guppen auf einme Linux System.

Syntax

Usage: groupadd [options] GROUP

Options:
  -f, --force                   exit successfully if the group already exists,
                                and cancel -g if the GID is already used
  -g, --gid GID                 use GID for the new group
  -h, --help                    display this help message and exit
  -K, --key KEY=VALUE           override /etc/login.defs defaults
  -o, --non-unique              allow to create groups with duplicate
                                (non-unique) GID
  -p, --password PASSWORD       use this encrypted password for the new group
  -r, --system                  create a system account
  -R, --root CHROOT_DIR         directory to chroot into
  -P, --prefix PREFIX_DI        directory prefix
  -U, --users USERS             list of user members of this group
      --extrausers              Use the extra users database

Aufbau und Bedeutung der Datei /etc/group

Gruppenname:Passwort:Gruppennummer:Mitglied1,...

Gruppenname  
Verschlüsseltes Passwort (nicht POSIX.1)  
Gruppennummer (GID)  
Liste von Mitgliedern der Gruppe

Beispielte

groupadd GruppenName                           # Erstellt die Gruppen
groupadd -g 3333 -U user01, uer02 GruppenName  # Zusätzliche Parameter

Weitere Informationen

man groupadd