Sun ONE Identity Server 6.1 Administration Guide |
Chapter 13
The ampassword Command Line ToolThis chapter provides information on the amPassword command line tool and contains the following sections:
The ampassword Command Line ExecutableIdentity Server contains an ampassword utility under $installroot/SUNWam/bin. This utility allows you change the Identity Server password for the administrator or user.
The ampassword Syntax
The generic syntax for using the ampassword tool is:
ampassword -a | --admin [ -o | --old oldPassword -n | --new newPassword ]
ampassword -p | --proxy [ -o | --old oldPassword -n | --new newPassword ]
ampassword -e | --encrypt [ password ]
ampassword Options
--admin (-a)
--admin is used to change the admin password.
--proxy (-p)
--proxy is used to change the proxy password. It corresponds to the proxy user (user type proxy in serverconfig.xml.)
--encrypt (-e)
--encrypt is used to encrypt the password. It is printed to the command line.
Running ampassword on SSLTo run ampassword with Identity Server running in Secure-Socket Layer (SSL) mode:
- Modify the serverconfig.xml file, located in the following directory:
IdentityServer_base/SUNWam/config/ums
- Change port the server attribute to the SSL port which Identity Server is running.
- Change the type attribute to SSL.
For example:
ampassword only changes the password in Directory Server. You will have to manually change passwords in the ServerConfig.xml and all authentication templates for Identity Server.