| -c COMMENT |
new value of the GECOS field
|
| -d HOME_DIR |
new home directory for the user account
|
| -e EXPIRE_DATE |
set account expiration date to EXPIRE_DATE
|
| -f INACTIVE |
set password inactive after expiration to INACTIVE
|
| -g GROUP |
force use GROUP as new primary group
|
| -G GROUPS |
new list of supplementary GROUPS
|
| -a |
append the user to the supplemental GROUPS
mentioned by the -G option without removing
the user from other groups
|
| -h |
display help message and exit
|
| -l NEW_LOGIN |
new value of the login name
|
| -L |
lock the user account
|
| -m |
move contents of the home directory to the new location (use only with -d)
|
| -o |
allow using duplicate (non-unique) UID
|
| -p PASSWORD |
use encrypted password for the new password
|
| -R CHROOT_DIR |
directory to chroot into
|
| -P PREFIX_DIR |
prefix directory where are located the /etc/* files
|
| -s SHELL |
new login shell for the user account
|
| -u UID |
new UID for the user account
|
| -U |
unlock the user account
|
| -v FIRST-LAST |
add range of subordinate uids
|
| -V FIRST-LAST |
remove range of subordinate uids
|
| -w FIRST-LAST |
add range of subordinate gids
|
| -W FIRST-LAST |
remove range of subordinate gids
|
| -Z SEUSER |
new SELinux user mapping for the user account
|