Debian Codegraph @

tests/usertools/useradd/57_useradd_usage-D_not_first_option/data/usage.out

raw
1 Usage: useradd [options] LOGIN
2 useradd -D
3 useradd -D [options]
4
5 Options:
6 -b, --base-dir BASE_DIR base directory for the home directory of the
7 new account
8 -c, --comment COMMENT GECOS field of the new account
9 -d, --home-dir HOME_DIR home directory of the new account
10 -D, --defaults print or change default useradd configuration
11 -e, --expiredate EXPIRE_DATE expiration date of the new account
12 -f, --inactive INACTIVE password inactivity period of the new account
13 -g, --gid GROUP name or ID of the primary group of the new
14 account
15 -G, --groups GROUPS list of supplementary groups of the new
16 account
17 -h, --help display this help message and exit
18 -k, --skel SKEL_DIR use this alternative skeleton directory
19 -K, --key KEY=VALUE override /etc/login.defs defaults
20 -l, --no-log-init do not add the user to the lastlog and
21 faillog databases
22 -m, --create-home create the user's home directory
23 -M, --no-create-home do not create the user's home directory
24 -N, --no-user-group do not create a group with the same name as
25 the user
26 -o, --non-unique allow to create users with duplicate
27 (non-unique) UID
28 -p, --password PASSWORD encrypted password of the new account
29 -r, --system create a system account
30 -R, --root CHROOT_DIR directory to chroot into
31 -s, --shell SHELL login shell of the new account
32 -u, --uid UID user ID of the new account
33 -U, --user-group create a group with the same name as the user
34 -Z, --selinux-user SEUSER use a specific SEUSER for the SELinux user mapping
35