pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitry Morozovsky <marck@rinet.ru>
To: Ron Peterson <rpeterso@mtholyoke.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: fallback authentication
Date: Sun, 12 Dec 2004 21:11:44 +0300 (MSK)
Message-ID: <20041212210744.C63476@woozle.rinet.ru> (raw)
In-Reply-To: <20041212035555.GA17165@mtholyoke.edu>
References: <20041210202050.GA12507@mtholyoke.edu>
	<20041211015056.GA13388@mtholyoke.edu>
	<20041211195107.GD2668@wolff.to>
	<20041212035555.GA17165@mtholyoke.edu>

On Sat, 11 Dec 2004, Ron Peterson wrote:

RP> I have:
RP> 
RP> host    all         all         127.0.0.1         255.255.255.255   md5
RP> host    all         all         127.0.0.1         255.255.255.255   pam postgresql
RP> host    all         all         0.0.0.0           0.0.0.0           reject

This scheme would not work. However, something like the following may help:

local   all             pgsql   ident   sameuser

host    all		dba	127.0.0.1	255.255.255.255		md5
host    all		local	127.0.0.1	255.255.255.255		pam  postgresql

So you can do local maintenance like cron backups from pgsql account, and 
fallback login for dba user when pam or authenticating modules are not 
available.


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



view thread (7+ messages)  latest in thread

Message-ID: <20041212210744.C63476@woozle.rinet.ru>
Permalink:  ../20041212210744.C63476@woozle.rinet.ru/
Also on:    postgresql.org/message-id/20041212210744.C63476@woozle.rinet.ru

 · 

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: marck@rinet.ru, rpeterso@mtholyoke.edu
  Subject: Re: fallback authentication
  In-Reply-To: <20041212210744.C63476@woozle.rinet.ru>
  References: <20041210202050.GA12507@mtholyoke.edu> <20041211015056.GA13388@mtholyoke.edu> <20041211195107.GD2668@wolff.to> <20041212035555.GA17165@mtholyoke.edu> <20041212210744.C63476@woozle.rinet.ru>

* 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