Re: fallback authentication

From: Dmitry Morozovsky <marck(at)rinet(dot)ru>
To: Ron Peterson <rpeterso(at)mtholyoke(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: fallback authentication
Date: 2004-12-12 18:11:44
Message-ID: 20041212210744.C63476@woozle.rinet.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)rinet(dot)ru ***
------------------------------------------------------------------------

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ron Peterson 2004-12-13 03:36:18 Re: fallback authentication
Previous Message Paulo Jobim 2004-12-12 16:39:58 HELP database files are incompatible with server