Sun Java System Portal Server 7.1 Command Line Reference

psadmin switch-sra-status

Description

Toggle the status of Secure Remote Access of the Portal domain between ON and OFF.

Syntax

Long Format

psadmin switch-sra-status --adminuser uid --passwordfile passwordfile [--hostname hostname --output output_file ] on | off

Short Format

psadmin switch-sra-status -u uid -f passwordfile [-h hostname o output_file] on | off

Options

The following options are required:

[--adminuser | -u] uid

Specifies the administrator's distinguished name (dn) or user ID.

[--passwordfile | -f] password-filename

Specifies the administrator's password in the password file.

The following are the optional options:

[--hostname | -h] instance-hostname

Specifies the hostname where the instance is located.

[--output | o] output_file]

Specifies a file for output.

The following operand is available:

on|off

Specifies to switch ON or OFF. That is the sra status of the portal domain.