Sun Java System Delegated Administrator 6.4 Administration Guide

commadmin admin add

The commadmin admin add command grants the Organization Administrators privileges to a user for a particular domain. Only a Top-Level Administrator or an ISP administrator can execute this command.

Syntax

commadmin admin add -D login -l login -n domain -w password -d domain
    [-h] [-i inputfile] [-p AM port] [-X AM host] [-?] [-s] [-v] [-V]

Options

The following options are mandatory:

Option  

Description  

-D login

The user ID of the Top-Level Administrator. 

-l login

The user ID of the user to whom you want to grant organization administrative privileges. The user should be present in the directory and be a part of the domain specified by the -d option.

-n domain

The domain of the Top-Level Administrator. If not specified, default domain stored in the cli-userprefs.properties file is used.

-w password

The password of the Top-Level Administrator. 

-d domain

The domain to which you want to grant administrative privileges. If not specified, the domain specified by the -n option is used.

The following options are non-mandatory:

Options  

Description  

-i inputfile

Reads the command information from a file instead of the command line. 

-p AM port

Use this option to specify an alternate TCP port where the Access Manager is listening. If not specified, the default AM port is used, or Port 80 is used if no default was configured at install time.

-X AM host

Specify the host on which the Access Manager is running. If not specified, the default AM host is used

-h, -?

Prints command usage syntax. 

-V

Prints information about the utility and its version. 

-s

Use SSL (Secure Socket Layer) to connect to the Access Manager. 

-v

Enable debugging output. 

Examples

The following grants Organization Administrator privileges to the user with the user ID admin1.


commadmin admin add -D chris -n sesta.com -w bolton -l admin1 \
-d florizel.com

The following grants Organization Administrator privileges to the user with the user ID admin2 for the domain florizel.com.


commadmin add admin -D chris -w bolton -l admin2 -n varrius.com \
-d florizel.com