From ab29cfec3250442fcad746d39af08b7a5136c7a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Mon, 31 Oct 2016 16:32:53 +0100 Subject: [PATCH] Update postinstall.sh --- contrib/packager.io/postinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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