Skip to content

Instantly share code, notes, and snippets.

@avsej
Created November 5, 2010 14:58
Show Gist options
  • Select an option

  • Save avsej/664256 to your computer and use it in GitHub Desktop.

Select an option

Save avsej/664256 to your computer and use it in GitHub Desktop.
diff --git a/postgresql/9.0/main/pg_hba.conf b/postgresql/9.0/main/pg_hba.conf
index 18831d3..f0d0e1d 100644
--- a/postgresql/9.0/main/pg_hba.conf
+++ b/postgresql/9.0/main/pg_hba.conf
@@ -80,13 +80,13 @@
# (custom daily cronjobs, replication, and similar tasks).
#
# Database administrative login by UNIX sockets
-local all postgres ident
+# local all postgres trust
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
-local all all ident
+local all all trust
# IPv4 local connections:
-host all all 127.0.0.1/32 md5
+host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment