pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nick Sayer <nsayer@quack.kfu.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems with user-level security
Date: Wed, 07 Nov 2001 13:21:08 -0500
Message-ID: <5539.1005157268@sss.pgh.pa.us> (raw)
In-Reply-To: <1709.66.126.254.34.1005099567.squirrel@medusa.kfu.com>
References: <1709.66.126.254.34.1005099567.squirrel@medusa.kfu.com>

Nick Sayer <nsayer@quack.kfu.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



view thread (7+ messages)  latest in thread

Message-ID: <5539.1005157268@sss.pgh.pa.us>
Permalink:  ../5539.1005157268@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5539.1005157268@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, nsayer@quack.kfu.com
  Subject: Re: Problems with user-level security
  In-Reply-To: <5539.1005157268@sss.pgh.pa.us>
  References: <1709.66.126.254.34.1005099567.squirrel@medusa.kfu.com> <5539.1005157268@sss.pgh.pa.us>

* 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