Sun Java System Application Server 9.1 Administration Guide

Password Commands

The password commands allow you to manage passwords and ensure security for the application server.

Table C–21 Password Commands

Command 

Definition 

create-password-alias

Creates an alias for a password and stores it in domain.xml. An alias is a token of the form ${ALIAS=password-alias-password}. The password corresponding to the alias name is stored in an encrypted form. This command takes both a secure interactive form (in which the user is prompted for all information) and a more script-friendly form, in which the password is propagated on the command line.

delete-password-alias

Deletes a password alias. 

update-password-alias

Updates the password alias IDs in the named target. 

list-password-aliases

Lists all password aliases. 

change-admin-password

This remote command modifies the admin password. This command is interactive in that the user is prompted for the old and new admin password (with confirmation). 

change-master-password

This local command is used to modify the master password. This command is interactive in that the user is prompted for the old and new master password. This command will not work unless the server is stopped.