Sun OpenSSO Enterprise 8.0 Administration Reference

The ampassword Command Line Executable

OpenSSO Enterprise contains an ampassword utility in your server's tools directory. For information on unpacking and setting up this utility, see Chapter 6, Installing the OpenSSO Enterprise Utilities and Scripts, in Sun OpenSSO Enterprise 8.0 Installation and Configuration Guide. This tool allows you change the Directory Server password for the administrator or user.

ProcedureTo Run ampassword with OpenSSO Enterprise in SSL mode

  1. Use the ssoadm get-svrcfg-xml command to retrieve the serverconfig.xml file.

  2. Edit this file to change the protocol of the directory server

    For example:


    <iPlanetDataAccessLayer>
    <ServerGroup name="default" minConnPool="1" maxConnPool="10">
        <Server name="Server1" host="sun.com" port="636" type="SSL" />
        <User name="User1" type="proxy">
            <DirDN>
                     cn=puser,ou=DSAME Users,dc=iplanet,dc=com
            </DirDN>
            <DirPassword>
                      AQIC5wM2LY4Sfcy+AQBQxghVwhBE92i78cqf
             </DirPassword>
     </User> ...
    
    
                   

    You can also edit Directory Server configuration data in the Servers and Sites tab in the OpenSSO console. For more information, see Servers and Sites.

  3. Import the edited serverconfig.xml file using ssoadm set-svrcfg-xml

    ampassword only changes the password in Directory Server. You will have to manually change passwords and all authentication templates for OpenSSO Enterprise.