groupadd Flashcards
1
Q
groupadd
A
The groupadd command creates a new group account using the values specified on the command line plus the default values from the system.
2
Q
groupadd
- f
- g
- K
- o
- p
- r
- R
A
- f, –force, Exit successfully if group exists, and cancel -g if GID is alread used.
- g, –gid GID, Use GID for the new group.
- 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.