adduser.exe Options

Adduser.exe Command Options

Command

What it Does

-h hostname

Specifies the user's virtual host , where hostname is the name of the host. The primary host is used if no host is specified. Using -h in a text file, affects all lines in the file.

-k userid

Deletes a user id, where userid is the id you want to delete. Only one user id may be deleted in a single command.

-m userid

Modifies a user id, where userid is the id you want to modify. Only one user id may be modified in a single command.

-u userid

Adds a user id, where userid is the id you want to add. Only one user id may be added in a single command.

-n "name"

Specifies the full name of the user in double quotes, where name is the user's full name.

-p password

Specifies a password for the user.  If you omit this command, the default password is 'password.'

-q

Disables alias duplicate check.

-cX

Specifies an alternate delimiting character represented by X. adduser.exe replaces the default delimiter (a comma) with the specified delimiter. Spaces are not allowed. Using -c in a text file, affects all lines in the file.

-f filename

You can put multiple commands into a text file for one execution of adduser.exe. Use this command to specify the name of the file containing the commands. All commands are valid for the text file, but - h and -c persist across multiple lines.

-chgpass

Disables the user's ability to change his/her password.

+chgpass

Enables the user to change his/her password.

-web

Disables the user's ability to use Web messaging.

+web

Enables the user to use Web messaging.

-active

Disables the user's ability to log on.

+active

Enables the user to log on.

-info

Disables the display of the user's information in LDAP queries.

+info

Enables the display of the user's information in LDAP queries.

-?

Displays a summary of argument options.

# : ;

Comments (for use in a text file)