+

Search Tips   |   Advanced Search

Portal, V6.1


 

Delete passwords from configuration scripts

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

Perform the following steps to delete passwords and other security-sensitive information from the configuration scripts:

  1. To access the WebSphere Portal configuration directory:

    Option Description
    Windows To access the configuration directory:

    1. Open a command prompt.

    2. Change to the WP_PROFILE\ConfigEngine.

    UNIX To access the configuration directory:

    1. Open a command prompt.

    2. Change to the WP_PROFILE/ConfigEngine.

    i5/OS To access the configuration directory:

    1. Type STRQSH on an OS/400 command line to start the Qshell Interpreter.

    2. Change to the WP_PROFILE/ConfigEngine.

  2. Remove the work directory that was created during the installation:

    Option Description
    Windows ConfigEngine.bat cleanup-work-dir
    UNIX ./ConfigEngine.sh cleanup-work-dir
    i5/OS ConfigEngine.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 wkplc.properties and wkplc_comp.properties files.

  3. Enter the following commands from the configuration directory to remove all passwords from the wkplc.properties and wkplc_comp.properties files:

    Option Description
    Windows ConfigEngine.bat delete-passwords
    UNIX ./ConfigEngine.sh delete-passwords
    i5/OS ConfigEngine.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 wkplc.properties and wkplc_comp.properties files.

    To run additional configuration tasks, you might need to restore passwords to the wkplc.properties and wkplc_comp.properties files or specify them on the command line using the -D flag.

 

Parent topic

Configure additional security features