pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: FM <dist-list@LEXUM.UMontreal.CA>
Cc: Mailing List Postgres-Admin <pgsql-admin@postgresql.org>
Subject: Re: pg_hba and *
Date: Thu, 16 Dec 2004 11:23:03 -0600
Message-ID: <20041216172303.GB11300@wolff.to> (raw)
In-Reply-To: <41C1AF3F.4080104@lexum.umontreal.ca>
References: <41C1AF3F.4080104@lexum.umontreal.ca>

On Thu, Dec 16, 2004 at 10:52:31 -0500,
  FM <dist-list@LEXUM.UMontreal.CA> wrote:
> Hello,
> We have kerberos auth for all humain users, but I still need md5 auth 
> for scripts users.
> 
> All my scripts user name start with soft_
> 
> Can I add soft_* in the pg_hba ?

You can't do pattern matching there.

It probably wouldn't be that hard to make a custom change to allow
some sort of pattern matching.

Another option would be to have a script that updates pg_hba.conf
as needed (and signal the server).

Yet another possible option (if the scripts are only run from the server)
is to use md5 for domain socket connections and kerberos for tcp/ip
connections.



view thread (2+ messages)

Message-ID: <20041216172303.GB11300@wolff.to>
Permalink:  ../20041216172303.GB11300@wolff.to/
Also on:    postgresql.org/message-id/20041216172303.GB11300@wolff.to

 · 

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: bruno@wolff.to, dist-list@LEXUM.UMontreal.CA
  Subject: Re: pg_hba and *
  In-Reply-To: <20041216172303.GB11300@wolff.to>
  References: <41C1AF3F.4080104@lexum.umontreal.ca> <20041216172303.GB11300@wolff.to>

* 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