pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: brook@biology.nmsu.edu
To: pgsql-admin@postgresql.org
Subject: pg_hba.conf and user files
Date: Mon, 23 Feb 2004 14:05:45 -0700
Message-ID: <16442.27433.659944.973586@viola.nmsu.edu> (raw)

I am trying to set up pg_hba.conf for PostgreSQL 7.3.  I want to limit
access to a database from a host to the set of users in a file.  The
documentation suggests that this is done as follows:

	host dbname @user_file 10.0.1.12 255.255.255.255 md5

However, the postmaster complains of a syntax error for lines such as
this.  There is in fact a file of the appropriate name (user_file in
same directory as pg_hba.conf), readable by the backend.  It contains
a list of user names, one per line.

Is this the correct setup?  If not, how is this supposed to be
accomplished?

Thanks for your help.

Cheers,
Brook



view thread (2+ messages)  latest in thread

Message-ID: <16442.27433.659944.973586@viola.nmsu.edu>
Permalink:  ../16442.27433.659944.973586@viola.nmsu.edu/
Also on:    postgresql.org/message-id/16442.27433.659944.973586@viola.nmsu.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: brook@biology.nmsu.edu
  Subject: Re: pg_hba.conf and user files
  In-Reply-To: <16442.27433.659944.973586@viola.nmsu.edu>
  References: <16442.27433.659944.973586@viola.nmsu.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox