Sun Java System Portal Server 7.1 Command Line Reference

psadmin set-attribute

Description

Sets the specified MA component attribute.

Syntax

Long Format

psadmin set-attribute --adminuser uid --passwordfile passwordfile --component componentname --attribute-name attributename [--add valuelist] [--remove valuelist]valuelist

Short Format

psadmin set-attribute -u uid -f passwordfile --componentcomponentname -a attributename [-A valuelist] [-E valuelist] valuelist

Options

The following are the required options:

[--adminuser | -u]

Specifies the administrator's distinguished name.

[--passwordfile | -f]

Specifies the administrator's password in the password file.

--component

Specifies the name of the component for which to set the attribute.

[--attribute-name | -a]

Specifies the attribute for which the value is to be retrieved.

[--add | -A]

Specifies the list of values to add to the attribute. Valid only for attributes that hold lists of values.

[--remove | -E]

Specifies the list of values to remove from the attribute. Valid only for attributes that hold lists of values.

valuelist

Specifies the value, or values, to set for the specified attribute.