mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
useradd: Allow group name or number to be used with the -g
option
This commit is contained in:
parent
4533794c32
commit
8955560801
2 changed files with 42 additions and 9 deletions
|
@ -19,7 +19,7 @@ This program must be run as root.
|
|||
## Options
|
||||
|
||||
* `-u`, `--uid` _uid_: The user identifier for the new user. If not specified, an unused UID above `1000` will be auto-generated.
|
||||
* `-g`, `--gid` _gid_: The group identifier for the new user. If not specified, it will default to 100 (the **users** group).
|
||||
* `-g`, `--gid` _group_: The group name or identifier for the new user. If not specified, it will default to 100 (the **users** group).
|
||||
* `-p`, `--password` _password_: The encrypted password for the new user. If not specified, it will default to blank.
|
||||
* `-s`, `--shell` _path-to-shell_: The shell binary for this login. The default is `/bin/Shell`.
|
||||
* `-m`, `--create-home`: Create the specified home directory for this new user.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue