Re: Problems with user-level security

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nick Sayer <nsayer(at)quack(dot)kfu(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Problems with user-level security
Date: 2001-11-07 18:21:08
Message-ID: 5539.1005157268@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Nick Sayer <nsayer(at)quack(dot)kfu(dot)com> writes:
> Is there some way to achieve this I am missing?

For password-style authentication, you can use a secondary auth file to
get that effect:

local sameuser password
local all password crossauth

where $PGDATA/crossauth lists the users who should be allowed to connect
to databases other than their own:

backups
pgsql

The map file can serve a similar purpose for ident-based auth. AFAIK
there's no similar capability for Kerberos or PAM auth methods :-(

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2001-11-08 00:26:02 Re: Problems with user-level security
Previous Message Nick Sayer 2001-11-07 17:50:01 Re: Problems with user-level security