Changing passwords


Use the following instructions to change passwords to better secure the portal environment.

 

Changing the WebSphere Portal administrator password

  1. Log in to WebSphere Portal as the portal administrator.
  2. Click Edit my profile.
  3. Change the password in the appropriate box.
  4. Click Continue.

The WebSphere Portal configuration tasks that enable WebSphere security automatically set the Security Cache Timeout to a value specified in the wpconfig.properties file. Old passwords are stored in cache for this amount of time. The default value is 600 seconds.

 

Changing the WAS administrator password

You can change the password for the WAS administrator user ID via the WAS Administrative Console. For complete information about WAS security, including changing passwords for administrative accounts, see the WAS documentation.

You can also change the WAS administrator password using the procedures below. Changing the WAS administrator password using WebSphere Portal is the recommended procedure; however, this procedure works only if the WAS administrator and the WebSphere Portal administrator are the same.

 

Changing the WAS administrator password using WebSphere Portal

  1. Make sure the WAS Administrative Server and Administrative Console are running.

  2. Log in to the WAS Administrative Console as the WAS administrator.

  3. Log in to WebSphere Portal as the WAS administrator and select Edit Profile.

  4. Type a new password and click Continue.

  5. In the WAS Administrative Console do one of the following, depending on the type of security installation:

    • LDAP: Click Security then click User Registries then click LDAP.

    • Custom User Registry: Click Security then click User Registries then click Custom.

  6. Change Server User Password to the new value and save the changes.

  7. Restart WAS.

The WebSphere Portal configuration tasks that enable WebSphere security automatically set the Security Cache Timeout to a value specified in the wpconfig.properties file. Old passwords are stored in cache for this amount of time. The default value is 600 seconds.

 

Changing the WAS administrator password in LDAP

These instructions explain how to change the WAS administrator password in LDAP if you use IBM Directory Server. If you use a different type of LDAP server, refer to the product documentation for information about changing passwords.

  1. Log in to the IBM Directory Server Web Administration Tool.

  2. Click Directory management then click manage entries .

  3. Select the o=wps RDN and click Expand.

  4. Select cn=users and click Expand.

  5. Select the WAS administrator user and click Edit Attributes.
  6. Click Other attributes.

  7. Enter the new password in the userPassword field.

  8. Click OK.

  9. Exit the IBM Directory Server Web Administration Tool.

  10. Log in to the WAS Administrative Console.

  11. Click Security then click User Registries then click LDAP.

  12. Type the new WAS administrator password in the Server User Password field and click OK.

  13. In the WAS administrative console, select Security then click Global Security and click Reset.

 

Changing the minimum length for user password in WebSphere Portal

When modifying an existing user's profile, you change the user's password to a string of 4 characters and click Continue. You receive the following message: "Length has to be at least 5 characters." The default length is 5 characters. Follow these steps to change the password length:

  1. Open the puma.properties file for editing, which is located in wp_home/shared/app/config.

  2. Modify puma.PASSWORD.min=value to the required password length.

  3. Save the changes.

The minimum value for the password field is 1. Anything lower will cause the password modification to fail. This field also pertains to the new user registration process on the portal server. Finally, you can also set the maximum number of characters for a password string by using the puma.PASSWORD.max field.

 

Changing the database administrator password

If you change the password for the database administrative user, update the password information in the WAS administrative console. See the WAS documentation for details about modifying database passwords.

When a user’s password is changed on an IBM® DB2® database server in an IBM Workplace™ Collaboration Services configuration, perform the steps below in the IBM WebSphere Administrative (Admin) Console to change all instances of the password.

  1. Change the password for each J2C Authentication Data Entry to allow the V5 data sources of WebSphere Portal to connect once the portal server is restarted.

    1. In the Admin Console, click Security -< JAAS Configuration -< J2C Authentication Data

    2. Change the password for the following roles: wmmDBAuth; wpsDBAuth; and fdbkDBAuth.

  2. Change the password for each of the V4 Data Sources, to allow the WPCP component of WebSphere Portal to connect to its data sources.

    1. In the Admin Console, click Resources-< JDBC Providers -< wpcp50 -< JDBC Data Sources (v4)

    2. Change the password for the following data sources: feedback5DS; brbDS; and wpcpdfd5.

    Once you have saved the changes and restarted WebSphere Portal, be able to Test Connection for each data source.

  3. Optional (as instructed by IBM Support) If you have specified the user ID and password in the WCM.properties file, update the password: file:%was_home%\wpcp\config\WebSphere_Portal\author\WCM.properties

     

    Replacing the WAS administrator user ID

    1. Create a new user via the Manage Users and Groups portlet. This new user will replace the current WAS user.
    2. In the WAS Administrative Console do one of the following, depending on the type of security installation:

      • LDAP: Click Security then click User Registries then click LDAP

      • Custom User Registry: Click Security then click User Registries then click Custom

    3. Replace the Security Server ID and Security Server Password with that new user account information from step 1. For the ID, retain the fully qualified server ID.
    4. Restart WAS.

    If you use an external security manager such as Tivoli Access Manager, manually remove the old administrator user ID from the external security manager.

     

    Changing the Member Manager password

    When you run the appropriate configuration tasks to enable security, WebSphere Portal encrypts the database and LDAP administrative passwords and stores them in <wp_root>/shared/app/wmm/wmm.xml .

    If you change the database password, update the datasource information using the WebSphere Administrative Console.

    If you change the LDAP password, update the wmm.xml file with the new encrypted password by following the instructions below.

    Follow these steps:

    1. From a command prompt, change to the <wp_root>/config/work/wmm/bin directory, where <wp_root> is the WebSphere Portal installation path.

    2. Encrypt the new password by entering the appropriate command:

      where <new_password> is the new password.

    3. The script returns a value for the ASCII encrypted string.

    4. Open the <wp_root>/shared/app/wmm/wmm.xml file with a text editor.

    5. Copy the value from the ASCII encrypted string and place it in the adminPassword field of wmm.xml.


     

    See also