X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 6AA5130F04C for ; Tue, 17 Jun 2003 14:16:18 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 28447-05 for ; Tue, 17 Jun 2003 11:16:08 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id 7B83530F05A for ; Tue, 17 Jun 2003 11:16:07 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.9/8.12.9) with ESMTP id h5HEF44w012497; Tue, 17 Jun 2003 08:15:04 -0600 (MDT) Date: Tue, 17 Jun 2003 08:13:46 -0600 (MDT) From: "scott.marlowe" To: Mel Jamero Cc: Subject: Re: psql DBNAME -U USER (how to disable -U option?) In-Reply-To: <000201c334d8$476c0e30$1b06a8c0@CMPMEL> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean X-MailScanner-SpamCheck: X-Archive-Number: 200306/199 X-Sequence-Number: 9190 On Tue, 17 Jun 2003, Mel Jamero wrote: > to get to the psql interface we execute: > > psql dbname -U user > > is it possible to disable the -U option such that a user cannot invoke the > privileges of a database superuser such as postgres? > > tried looking up pg_hba.conf regarding 'password' authentication, the man > pages and the archives but didn't get too lucky. Did you stop / start postgresql after the changes? Make sure you don't have a line for "trust" 127.0.0.1 as well.