Polecenie groupadd
Opcje wykonania groupadd
w konsoli
Exit with error if group being added already exists. If a gid requested with -g already exists and the -o option has not been specified, assign a different gid as if -g had not been specified. This option is not available on all distributions.
Assign numerical group ID. (By default, the first available number above 500 is used.) The value must be unique, unless the -o option is used.
Display a help message.
Accept a nonunique gid with the -g option.
Use the string encrypted by crypt(3), as the initial password for the group.
Specify the path for the group definition file. Normally, the file is placed in
/etc/group .
Add a system account. Assign the first available number lower than 499.
Add the group to a special service category. Normally, this is "files," but it may also be "ldap."
Display a very short list of acceptable options for the command.
Print the version number, then quit.
Przykłady groupadd działanie w Słownik polecenie G