[Mageia-sysadm] [174] - make 'psql -U postgres' as root working

root at mageia.org root at mageia.org
Sat Nov 6 08:42:49 CET 2010


Revision: 174
Author:   nanardon
Date:     2010-11-06 08:42:49 +0100 (Sat, 06 Nov 2010)
Log Message:
-----------
- make 'psql -U postgres' as root working

Modified Paths:
--------------
    puppet/modules/postgresql/templates/pg_hba.conf
    puppet/modules/postgresql/templates/pg_ident.conf

Modified: puppet/modules/postgresql/templates/pg_hba.conf
===================================================================
--- puppet/modules/postgresql/templates/pg_hba.conf	2010-11-06 07:24:40 UTC (rev 173)
+++ puppet/modules/postgresql/templates/pg_hba.conf	2010-11-06 07:42:49 UTC (rev 174)
@@ -89,7 +89,7 @@
 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:

Modified: puppet/modules/postgresql/templates/pg_ident.conf
===================================================================
--- puppet/modules/postgresql/templates/pg_ident.conf	2010-11-06 07:24:40 UTC (rev 173)
+++ puppet/modules/postgresql/templates/pg_ident.conf	2010-11-06 07:42:49 UTC (rev 174)
@@ -40,4 +40,4 @@
 # ----------------------------------
 
 # MAPNAME       SYSTEM-USERNAME         PG-USERNAME
-any             root                    postgres
+local           root                    postgres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101106/01caa596/attachment-0001.html>


More information about the Mageia-sysadm mailing list