Read more

Manually create Postgres password hash

Stefan Langenmaier
November 10, 2023Software engineer at makandra GmbH

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}'
Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot
Posted by Stefan Langenmaier to makandra Operations (2023-11-10 16:59)