diff --git a/contrib/packager.io/postinstall.sh b/contrib/packager.io/postinstall.sh index 493ba9734..c16b5cacb 100755 --- a/contrib/packager.io/postinstall.sh +++ b/contrib/packager.io/postinstall.sh @@ -44,7 +44,7 @@ else test -f /var/lib/pgsql/data/pg_hba.conf.bak || cp /var/lib/pgsql/data/pg_hba.conf /var/lib/pgsql/data/pg_hba.conf.bak echo "allow login via username and password in postgresql" - egrep -v "^#.*$" < /var/lib/pgsql/data/pg_hba.conf.bak | sed 's/ident/md5/g' > /var/lib/pgsql/data/pg_hba.conf + egrep -v "^#.*$" < /var/lib/pgsql/data/pg_hba.conf.bak | sed 's/ident/trust/g' > /var/lib/pgsql/data/pg_hba.conf echo "restarting postgresql server" ${INIT_CMD} restart postgresql