summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man8
diff options
context:
space:
mode:
authorBrendan Coles <bcoles@gmail.com>2020-12-21 08:14:44 +0000
committerAndreas Kling <kling@serenityos.org>2020-12-21 09:57:26 +0100
commit39c92dad83dc2e933ed6f55cf59a782676301c52 (patch)
tree49955114cb2895063f231f1876cce95daa9184b4 /Base/usr/share/man/man8
parent09e069bc0b489284a46acac3f614235a473ecc3d (diff)
downloadserenity-39c92dad83dc2e933ed6f55cf59a782676301c52.zip
Userland: useradd: Add command line option to set user password
Diffstat (limited to 'Base/usr/share/man/man8')
-rw-r--r--Base/usr/share/man/man8/useradd.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/Base/usr/share/man/man8/useradd.md b/Base/usr/share/man/man8/useradd.md
index 8699e8f934..f43883d8d6 100644
--- a/Base/usr/share/man/man8/useradd.md
+++ b/Base/usr/share/man/man8/useradd.md
@@ -10,7 +10,7 @@ useradd - add a new user to the system password file
## Description
-This program uses adds a new user to the system.
+This program adds a new user to the system.
By default, the user will be added to the **users** group (which has a GID of 100).
@@ -20,6 +20,7 @@ This program must be run as root.
* `-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).
+* `-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.
* `-d`, `--home-dir` _path_: Set the home directory for this user to path. By default, this is `/home/username`, where `username` is the value of login.