![]() |
Use this procedure to change from the default MD5 hashing algorithm to SCRAM-SHA-256 password hashing algorithm by using the SetDbPasswordAndHashingAlgorithm.sh script.
![]() | Note: |
|
Prior to running the SetDbPasswordAndHashingAlgorithm.sh script, the SetDbPassword.sh script has to be run to change the default postgres user database account. The following services are restarted when the SetDbPassword.sh script is executed and again when the SetDbPasswordAndHashingAlgorithm.sh script is run. Hence, do not run the script unless a scheduled maintenance window is set to accommodate both service restarts.
|
The postgres user account is changed automatically when you run the script. Any additional postgres user accounts will have to be changed manually using the existing SetDbPassword.sh script provided.