Table 3.1. useradd options
-c | comment (Full Name) |
-d | path to home directory |
-g | initial group (GID). The GID must already exist |
-G | comma separated list of supplementary groups |
-u | users UID |
-s | users default shell |
-p | password (md5 encrypted, use quotes!) |
-e | account expiry date |
-k | the skel directory |
-n | switch off the UPG group scheme |