-c comment | Supplies general information about the user specified by the login parameter. The comment parameter is a string with no embedded colon (:) characters and cannot end with the characters '#!'. |
-d dir | Identifies the home directory of the user specified by the login parameter. The dir parameter is a full path name. |
-e expire | Identifies the expiration date of the account. The expire parameter is a 10-character string in the MMDDhhmmyy form, where MM is the month, DD is the day, hh is the hour, mm is the minute, and yy is the last 2 digits of the years 1939 through 2038. All characters are numeric. If the expire parameter is 0, the account does not expire. The default is 0. See the date command for more information. |
-g group | Identifies the user's primary group. The group parameter must contain a valid group name and cannot be a null value. |
-Ggroup1,group2,... | Identifies the groups the user belongs to. The group1,group2,... parameter is a comma-separated list of group names. |
-k skel_dir | Copies default files from skel_dir to user's home directory. Used only with -m flag. |
-m | Makes user's home directory if it does not exist. The default is not to make the home directory. |
-r role1,role2,... | Lists the administrative roles for this user. The role1,role2,... parameter is a list of role names, separated by commas. |
-s shell | Defines the program run for the user at session initiation. The shell parameter is a full path name. |
-u uid | Specifies the user ID. The uid parameter is a unique integer string. Avoid changing this attribute so that system security will not be compromised. |