Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to reset postgres password

sudo sed -ibak 's/^([^#]*)md5/1trust/g' /opt/bitnami/postgresql/conf/pg_hba.conf
sudo -u postgres pg_ctl reload
Source by docs.bitnami.com #
 
PREVIOUS NEXT
Tagged: #reset #postgres #password
ADD COMMENT
Topic
Name
2+4 =