pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jameson Burt <jameson@mnsinc.com>
To: pgsql-admin@postgresql.org
Cc: jameson@coost.com
Subject: All users can enter as one user "puser" without superuser priviledges: how?
Date: Mon, 17 Dec 2001 01:42:02 -0500
Message-ID: <20011217014202.A31762@rabbit.burtnet> (raw)

I seek a simplistic access,

1. superuser "postgres" gets access when his system-name is "postgres",
   but not otherwise [some security sought].
   This can be done in pg_hba.conf with either 
      local all  peer sameuser
      local all trust   #but anyone then gets "postges" access.

2. One other user, say "puser", gets access whatever his system-name.
   The above
      local all peer sameuser
   disallows an arbitrary username entering as  "psql template1 -U puser".
   One can use
      host all 127.0.0.1 255.0.0.0 ident jimsmap 
   then have pg_ident.conf  with 1000 user entries like
      jimsmap    jameson  puser
   However, I seek a simpler method for numerous users, 
   each of whom will be granted access as user "puser".
   ANY IDEAS?
      



-- 
Jameson C. Burt, NJ9L   Fairfax, Virginia, USA
jameson@coost.com       http://www.coost.com
(202) 690-0380 (work)



view thread (2+ messages)  latest in thread

Message-ID: <20011217014202.A31762@rabbit.burtnet>
Permalink:  ../20011217014202.A31762@rabbit.burtnet/
Also on:    postgresql.org/message-id/20011217014202.A31762@rabbit.burtnet

 · 

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: jameson@mnsinc.com, jameson@coost.com
  Subject: Re: All users can enter as one user "puser" without superuser priviledges: how?
  In-Reply-To: <20011217014202.A31762@rabbit.burtnet>
  References: <20011217014202.A31762@rabbit.burtnet>

* 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