From a564ae8ecb413264e260f54d14a1dd440e7a0166 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Sat, 6 Nov 2010 07:42:49 +0000 Subject: - make 'psql -U postgres' as root working --- modules/postgresql/templates/pg_hba.conf | 2 +- modules/postgresql/templates/pg_ident.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/postgresql') diff --git a/modules/postgresql/templates/pg_hba.conf b/modules/postgresql/templates/pg_hba.conf index 1ad0ec41..f2896f30 100644 --- a/modules/postgresql/templates/pg_hba.conf +++ b/modules/postgresql/templates/pg_hba.conf @@ -89,7 +89,7 @@ host transifex transifex 212.85.158.146/32 md5 host transifex transifex 2a02:2178:2:7::2/128 md5 # "local" is for Unix domain socket connections only -local all all ident +local all all ident map=local # IPv4 local connections: host all all 127.0.0.1/32 pam # IPv6 local connections: diff --git a/modules/postgresql/templates/pg_ident.conf b/modules/postgresql/templates/pg_ident.conf index d2ed717f..e1adda10 100644 --- a/modules/postgresql/templates/pg_ident.conf +++ b/modules/postgresql/templates/pg_ident.conf @@ -40,4 +40,4 @@ # ---------------------------------- # MAPNAME SYSTEM-USERNAME PG-USERNAME -any root postgres +local root postgres -- cgit v1.2.1