Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
82e2fe9c
Commit
82e2fe9c
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Clean up pg_hba.conf
parent
ba1578aa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/libpq/pg_hba.conf.sample
+8
-8
8 additions, 8 deletions
src/backend/libpq/pg_hba.conf.sample
with
8 additions
and
8 deletions
src/backend/libpq/pg_hba.conf.sample
+
8
−
8
View file @
82e2fe9c
...
...
@@ -110,26 +110,26 @@
#
# all 127.0.0.1 0.0.0.0
# TYPE DATABASE IP_ADDRESS MASK USERAUTH MAP
# TYPE DATABASE IP_ADDRESS MASK
USERAUTH MAP
#host all 127.0.0.1
255.255.255.255 trust
#host all 127.0.0.1 255.255.255.255
trust
# The above allows any user on the local system to connect to any database
# under any username.
#host template1 192.168.93.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.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.54.1 255.255.255.255 reject
#host all 0.0.0.0 0.0.0.0 trust
#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.54.1 to connect to
# any database under any username.
#host all 192.168.77.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.77.x hosts to connect to any
# database, but if Ident says the user is "bryanh" and he requests to
...
...
@@ -139,5 +139,5 @@
# By default, allow anything over UNIX domain sockets and localhost.
local all trust
host all 127.0.0.1 255.255.255.255 trust
local all
trust
host all 127.0.0.1 255.255.255.255
trust
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment