Delete passwords from properties files
The ConfigEngine tasks might require us to write security-sensitive information, such as passwords, into multiple properties files. When you no longer need this security-sensitive information for the configuration, we should remove them and move the files to a safe place or set the file permissions so that only authorized users can read them.
Delete passwords and other security-sensitive information from the properties files:
After completing the tasks to clean up the work directory and delete the passwords, we might find that in order to successfully perform additional ConfigEngine tasks, we need these passwords. Some tasks require us to add the passwords back to the wkplc.properties, wkplc_comp.properties, wkplc_dbdomain.properties, and wkplc_sourceDb.properties files while other tasks allow us to specify the passwords on the command line using the -D flag. Refer to the configuration task documentation to determine which method is required.
- Remove the work directory created during the installation:
cd WP_PROFILE/ConfigEngine
./ConfigEngine.sh cleanup-work-dir -DWasPassword=foo
Before running additional tasks, check the output for any error messages and, if instructed, correct any items before rerunning the task.
- Remove all passwords from the wkplc.properties, wkplc_comp.properties, wkplc_sourceDb.properties, and wkplc_dbdomain.properties files:
cd WP_PROFILE/ConfigEngine
./ConfigEngine.sh delete-passwords -DWasPassword=fooBefore running additional tasks, check the output for any error messages and, if instructed, correct any items before rerunning the task.
Parent Securing