Advertisement
Guest User

Untitled

a guest
Oct 17th, 2016
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. # directly connected to.
  2. #
  3. # METHOD can be "trust", "reject", "md5", "password", "gss", "sspi",
  4. # "ident", "peer", "pam", "ldap", "radius" or "cert". Note that
  5. # "password" sends passwords in clear text; "md5" is preferred since
  6. # it sends encrypted passwords.
  7. #
  8. # OPTIONS are a set of options for the authentication in the format
  9. # NAME=VALUE. The available options depend on the different
  10. # authentication methods -- refer to the "Client Authentication"
  11. # section in the documentation for a list of which options are
  12. # available for which authentication methods.
  13. #
  14. # Database and user names containing spaces, commas, quotes and other
  15. # special characters must be quoted. Quoting one of the keywords
  16. # "all", "sameuser", "samerole" or "replication" makes the name lose
  17. # its special character, and just match a database or username with
  18. # that name.
  19. #
  20. # This file is read on server startup and when the postmaster receives
  21. # a SIGHUP signal. If you edit the file on a running system, you have
  22. # to SIGHUP the postmaster for the changes to take effect. You can
  23. # use "pg_ctl reload" to do that.
  24.  
  25. # Put your actual configuration here
  26. # ----------------------------------
  27. #
  28. # If you want to allow non-local connections, you need to add more
  29. # "host" records. In that case you will also need to make PostgreSQL
  30. # listen on a non-local interface via the listen_addresses
  31. # configuration parameter, or via the -i or -h command line switches.
  32.  
  33.  
  34.  
  35.  
  36. # DO NOT DISABLE!
  37. # If you change this first entry you will need to make sure that the
  38. # database superuser can access the database using some other method.
  39. # Noninteractive access to all databases is required during automatic
  40. # maintenance (custom daily cronjobs, replication, and similar tasks).
  41. #
  42. # Database administrative login by Unix domain socket
  43. local all postgres peer
  44.  
  45. # TYPE DATABASE USER ADDRESS METHOD
  46.  
  47. # "local" is for Unix domain socket connections only
  48. local all all peer
  49. # IPv4 local connections:
  50. host all all 127.0.0.1/32 md5
  51. # IPv6 local connections:
  52. host all all ::1/128 md5
  53. # Allow replication connections from localhost, by a user with the
  54. # replication privilege.
  55. #local replication postgres peer
  56. #host replication postgres 127.0.0.1/32 md5
  57. #host replication postgres ::1/128 md5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement