Delete passwords

 

+
Search Tips   |   Advanced Search

 


Overview

The WebSphere Portal installation and configuration processes write security-sensitive information into multiple files. These files contain passwords in the clear. These files are not removed after the installation. When you no longer need this information, remove it and move the files to a safe place, or set the file permissions so that only authorized users can read them.

After you have installed WebSphere Portal and configured its components, follow these steps to remove this sensitive information:

  1. Remove the work directory that was created during the portal installation:

    cd <wp_root>/config
    ./WPSconfig.sh cleanup-work-dir

    Check the output for any error messages before proceeding with any additional tasks. If any of the configuration tasks fail, verify the values in the wpconfig.properties file.

  2. Start WAS and WebSphere Portal:

    cd $WAS_HOME/bin
    startServer server1
    startServer WebSphere_Portal

  3. Remove all passwords from the wpconfig.properties file by entering the appropriate command:

    cd <wp_root>/config
    ./WPSconfig.sh delete-passwords

    Check the output for any error messages before proceeding with any additional tasks. If any of the configuration tasks fail, verify the values in the wpconfig.properties file.

    To run additional configuration tasks, you might need to restore passwords to the wpconfig.properties file or specify them on the command line using the -D flag. Refer to Configuration task reference for more information.

 

See also

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.