Stefan Langenmaier
1 year
Andreas Vöst
11 months
Claus-Theodor Riegg
5 years
Andreas Vöst
1 year
Emma Heinle
1 year
Kim Klotz
1 year
Claus-Theodor Riegg
9 years
Andreas Vöst
1 year
Andreas Vöst
1 year

Manually create Postgres password hash

Posted . Visible to the public. Repeats.

For some reason you have to pass the password hash if you want to create a role in postgres. To calculate the hash use the following snippet:

echo -n "md5"; echo -n "${PG_PASSWORD}${PG_USERNAME}" | md5sum | awk '{print $1}'
Profile picture of Stefan Langenmaier
Stefan Langenmaier
Last edit
Kim Klotz
Tags
License
Source code in this card is licensed under the MIT License.