git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b14d86c
)
reverting
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 23 Feb 2012 19:34:16 +0000
(14:34 -0500)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 23 Feb 2012 19:34:16 +0000
(14:34 -0500)
plc.d/postgresql
patch
|
blob
|
history
diff --git
a/plc.d/postgresql
b/plc.d/postgresql
index
a02ab57
..
c3c37b1
100755
(executable)
--- a/
plc.d/postgresql
+++ b/
plc.d/postgresql
@@
-95,7
+95,7
@@
case "$1" in
######## /var/lib/pgsql/data/pg_hba.conf
# Disable access to MyPLC and drupal DBs from all hosts
######## /var/lib/pgsql/data/pg_hba.conf
# Disable access to MyPLC and drupal DBs from all hosts
- sed -i -e '/^\(host\|local\)
\s\($PLC_DB_NAME\|drupal\)
/d' $pghba_conf
+ sed -i -e '/^\(host\|local\)/d' $pghba_conf
# Enable passwordless localhost access
echo "local all all trust" >>$pghba_conf
# Enable passwordless localhost access
echo "local all all trust" >>$pghba_conf