Usage: usermod [options] LOGIN
Options:
-c, --comment COMMENT
[tab]
[tab]
new value of the GECOS field
-d, --home HOME_DIR
[tab]
[tab]
new home directory for the user account
-e, --expiredate EXPIRE_DATE
[tab]
set account expiration date to EXPIRE_DATE
-f, --inactive INACTIVE
[tab]
set password inactive after expiration
[tab]
[tab]
[tab]
[tab]
to INACTIVE
-g, --gid GROUP
[tab]
[tab]
force use GROUP as new primary group
-G, --groups GROUPS
[tab]
[tab]
new list of supplementary GROUPS
-a, --append
[tab]
[tab]
append the user to the supplemental GROUPS
[tab]
[tab]
[tab]
[tab]
mentioned by the -G option without removing
[tab]
[tab]
[tab]
[tab]
him/her from other groups
-h, --help
[tab]
[tab]
[tab]
display this help message and exit
-l, --login NEW_LOGIN
[tab]
[tab]
new value of the login name
-L, --lock
[tab]
[tab]
[tab]
lock the user account
-m, --move-home
[tab]
[tab]
move contents of the home directory to the new
[tab]
[tab]
[tab]
[tab]
location (use only with -d)
-o, --non-unique
[tab]
[tab]
allow using duplicate (non-unique) UID
-p, --password PASSWORD
[tab]
use encrypted password for the new password
-s, --shell SHELL
[tab]
[tab]
new login shell for the user account
-u, --uid UID
[tab]
[tab]
[tab]
new UID for the user account
-U, --unlock
[tab]
[tab]
[tab]
unlock the user account