Received: from rabbit.burtnet (dsl092-166-019.wdc1.dsl.speakeasy.net [66.92.166.19]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fBH6g3m63127 for ; Mon, 17 Dec 2001 01:42:03 -0500 (EST) (envelope-from jameson@coost.com) Received: from jameson by rabbit.burtnet with local (Exim 3.32 #1 (Debian)) id 16FrTO-0008Qx-00; Mon, 17 Dec 2001 01:42:02 -0500 Date: Mon, 17 Dec 2001 01:42:02 -0500 From: Jameson Burt To: pgsql-admin@postgresql.org Cc: jameson@coost.com Subject: All users can enter as one user "puser" without superuser priviledges: how? Message-ID: <20011217014202.A31762@rabbit.burtnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Balsa 1.0.pre5 X-Archive-Number: 200112/103 X-Sequence-Number: 2826 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)