Sun Java System Delegated Administrator 6.4 Administration Guide

Mandatory commadmin Options

The following are the mandatory options used for authenticating the administrator or the user.

Options  

Description  

-D userid

User ID used to bind to the directory. 

-w password

Password used to authenticate the user ID to the directory. 

You may also specify password via a text file, password.txt.

For example, if you specify -w mypassword.txt, and the content of the mypassword.txt file is secret, the commadmin utility takes the string secret as the password.

Note that if you specify -w mypassword.txt, and the mypassword.txt file does not exist, the commadmin utility takes the string mypassword.txt itself as the password.

-n domain

The domain the administrator belongs to. (For more information, see the Note shown below this table.)

The Access Manager Host (-X), Access Manager Port (-p), and the default domain (-n) values are specified during installation and stored in the cli-userprefs.properties file.


Note –

If the -X, -p, and -n options are not specified at the time when a commadmin command is executed, their values are taken from the cli-userprefs.properties file.