diff options
author | Bruce Momjian | 2000-05-27 01:32:01 +0000 |
---|---|---|
committer | Bruce Momjian | 2000-05-27 01:32:01 +0000 |
commit | ba1578aa8fec9f318c39c594d60c3d3daf8bd309 (patch) | |
tree | 1b86464464c32b70ef154e5fdfc63bc3e1c7b01d | |
parent | b71761d2808a5b2d841bbccf193e326bdca0a52d (diff) |
Improve pg_hba.conf examples
-rw-r--r-- | src/backend/libpq/pg_hba.conf.sample | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/libpq/pg_hba.conf.sample b/src/backend/libpq/pg_hba.conf.sample index ced8df757cc..1152a3c6cfb 100644 --- a/src/backend/libpq/pg_hba.conf.sample +++ b/src/backend/libpq/pg_hba.conf.sample @@ -117,21 +117,21 @@ # The above allows any user on the local system to connect to any database # under any username. -#host template1 192.168.0.0 255.255.255.0 ident sameuser +#host template1 192.168.93.0 255.255.255.0 ident sameuser -# The above allows any user from any host with IP address 192.168.0.x to +# The above allows any user from any host with IP address 192.168.93.x to # connect to database template1 as the same username that ident on that host # identifies him as (typically his Unix username). -#host all 192.168.0.1 255.255.255.255 reject +#host all 192.168.54.1 255.255.255.255 reject #host all 0.0.0.0 0.0.0.0 trust -# The above would allow anyone anywhere except from 192.168.0.1 to connect to +# The above would allow anyone anywhere except from 192.168.54.1 to connect to # any database under any username. -#host all 192.168.0.0 255.255.255.0 ident omicron +#host all 192.168.77.0 255.255.255.0 ident omicron # -# The above would allow users from 192.168.0.x hosts to connect to any +# The above would allow users from 192.168.77.x hosts to connect to any # database, but if Ident says the user is "bryanh" and he requests to # connect as PostgreSQL user "guest1", the connection is only allowed if # there is an entry for map "omicron" in pg_ident.conf that says "bryanh" is |