Commit 49c86099 authored by Peter Eisentraut's avatar Peter Eisentraut

Shrink the pg_hba.conf and pg_ident.conf default files and move most of the

inline documentation to the main docs.
parent d73f8137
This diff is collapsed.
This diff is collapsed.
# # PostgreSQL Ident Authentication Maps
# PostgreSQL IDENT-BASED AUTHENTICATION MAPS # ====================================
#
# This file controls PostgreSQL ident-based authentication. It maps ident
# usernames (typically Unix usernames) to their corresponding PostgreSQL
# usernames. Entries are grouped by map name. Each record consists of
# three fields:
#
# o map name
# o ident username
# o PostgreSQL username
#
# It is read on postmaster startup and when the postmaster receives a SIGHUP.
# If you edit the file on a running system, you have to SIGHUP the postmaster
# for the changes to take effect.
# #
# For example, the following entry equates user "james" on a remote system # Refer to the PostgreSQL Administrator's Guide, chapter "Client
# to PostgreSQL user "guest" in the map named "phoenix": # Authentication" for a complete description. A short synopsis
# # follows.
# MAP IDENT PGUSERNAME #
# phoenix james guest # This file controls PostgreSQL ident-based authentication. It maps
# # ident user names (typically Unix user names) to their corresponding
# "phoenix" can now be used by an "ident" record in $DATA/pg_hba.conf. # PostgreSQL user names. Records are of the form:
# #
# Multiple maps may be specified in this file and used by pg_hba.conf. # MAPNAME IDENT-USERNAME PG-USERNAME
# #
# Note that it is possible for a remote user to map to multiple PostgreSQL # (The uppercase quantities should be replaced by actual values.)
# usernames. The PostgreSQL username specified at connection time controls # MAPNAME is the (otherwise freely chosen) map name that was used in
# which one is used. # pg_hba.conf. IDENT-USERNAME is the detected user name of the
# # client. PG-USERNAME is the request PostgreSQL user name. The
# If all ident usernames and PostgreSQL usernames are the same, you don't # existence of a record specifies that IDENT-USERNAME may connect as
# need this file. Instead, use the special map name "sameuser" in # PG-USERNAME. Multiple maps may be specified in this file and used
# by pg_hba.conf.
#
# This file is read on server startup and when the postmaster receives
# a SIGHUP signal. If you edit the file on a running system, you have
# to SIGHUP the postmaster for the changes to take effect, or use
# "pg_ctl reload".
# Put your actual configuration here
# ----------------------------------
#
# No map names are defined in the default configuration. If all ident
# user names and PostgreSQL user names are the same, you don't need
# this file. Instead, use the special map name "sameuser" in
# pg_hba.conf. # pg_hba.conf.
#
# MAP IDENT PGUSERNAME # MAPNAME IDENT-USERNAME PG-USERNAME
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment