| --badnames | | Do not check for bad names |
-b | --base-dir | BASE_DIR | Base directory for the home directory of the new account |
| --btrfs-subvolume-home | | Use BTRFS subvolume for home directory |
-c | --comment | COMMENT | GECOS field of the new account |
-d | --home-dir | HOME_DIR | Home directory of the new account |
-D | --defaults | | Print or change default useradd configuration |
-e | --expiredate | EXPIRE_DATE | Expiration date of the new account |
-f | --inactive | INACTIVE | Password inactivity period of the new account |
-g | --gid | GROUP | Name or ID of the primary group of the new account |
-G | --groups | GROUPS | List of supplementary groups of the new account |
-h | --help | | Display this help message and exit |
-k | --skel | SKEL_DIR | Use this alternative skeleton directory |
-K | --key | KEY=VALUE | Override /etc/login.defs defaults |
-l | --no-log-init | | Do not add the user to the lastlog and faillog databases |
-m | --create-home | | Create the user's home directory |
-M | --no-create-home | | Do not create the user's home directory |
-N | --no-user-group | | Do not create a group with the same name as the user |
-o | --non-unique | | Allow to create users with duplicate (non-unique) UID |
-p | --password | PASSWORD | Encrypted password of the new account |
-r | --system | | Create a system account |
-R | --root | CHROOT_DIR | Directory to chroot into |
-P | --prefix | PREFIX_DIR | Prefix directory where are located the /etc/* files |
-s | --shell | SHELL | Login shell of the new account |
-u | --uid | UID | User ID of the new account |
-U | --user-group | | Create a group with the same name as the user |
-Z | --selinux-user | SEUSER | Use a specific SEUSER for the SELinux user mapping |