Skip to content

Instantly share code, notes, and snippets.

@jurikern
Created October 25, 2013 12:37
Show Gist options
  • Save jurikern/7154025 to your computer and use it in GitHub Desktop.
Save jurikern/7154025 to your computer and use it in GitHub Desktop.
pg_hba no user no password example
# Database administrative login by Unix domain socket
local all postgres trust
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment