![]()
Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows
Delete passwords from configuration scripts
This topic provides information on removing passwords from configuration scripts after WebSphere Portal Express has been installed and configured.
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.
After you have installed WebSphere Portal Express and configured its components, follow these steps to remove this sensitive information:
- Access the WebSphere Portal Express configuration directory:
Windows and Linux:
portal_server_root/configi5/OS:
portal_server_root_user/config- Remove the work directory that was created during the WebSphere Portal Express installation:
Linux:
./WPSconfig.sh cleanup-work-dirWindows:
WPSconfig.bat cleanup-work-diri5/OS:
WPSconfig.sh -profileName wp_profile cleanup-work-dirCheck the output for any error messages before proceeding with any additional tasks. If any of the configuration tasks fail, verify the values in...
- wpconfig.properties
- wpconfig_dbdomain.properties
- Start WebSphere Application Server and WebSphere Portal Express:
Windows and Linux:
- Open a command prompt and change to the following directory:
- Linux:
was_profile_root/bin
- Windows:
was_profile_root\bin
- i5/OS:
app_server_root/bin
- Enter the following command:
- Linux:
./startServer.sh server1
- Windows:
startServer.bat server1
- i5/OS:
startServer.sh server1 -profileName profile_root
where profile_root is the name of the WebSphere Application Server profile where WebSphere Portal Express is installed; for example, wp_profile.
server1 is the name of your WebSphere Application Server administrative server.
- Enter the following command:
- Linux:
./startServer.sh WebSphere_Portal
- Windows:
startServer.bat WebSphere_Portal
- i5/OS:
startServer.sh WebSphere_Portal -profileName profile_root
where profile_root is the name of the WebSphere Application Server profile where WebSphere Portal Express is installed; for example, wp_profile.
- Open a command prompt and change to the following directory:
- Linux:
portal_server_root/config
- Windows:
portal_server_root\config
- i5/OS:
portal_server_root_user/config
- Remove all passwords from the wpconfig.properties and wpconfig_dbdomain.properties files by entering the appropriate command:
- Linux:
./WPSconfig.sh delete-passwords
- Windows:
WPSconfig.bat delete-passwords
- i5/OS WPSconfig.sh -profileName profile_root delete-passwords
where profile_root is the name of the WebSphere Application Server profile where WebSphere Portal Express is installed; for example, wp_profile.
Passwords must also be restored to any backup properties files you have created.
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 and wpconfig_dbdomain.properties files.
To run additional configuration tasks, you might need to restore passwords to the wpconfig.properties and wpconfig_dbdomain.properties files or specify them on the command line using the -D flag. Refer to Configuration task reference for more information.
Parent topic:
Keeping your environment secureRelated tasks
Database user registry