pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: scott.marlowe <scott.marlowe@ihs.com>
To: Mel Jamero <mel@gmanmi.tv>
Cc: pgsql-admin@postgresql.org
Subject: Re: psql DBNAME -U USER (how to disable -U option?)
Date: Tue, 17 Jun 2003 08:13:46 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0306170813190.2018-100000@css120.ihs.com> (raw)
In-Reply-To: <000201c334d8$476c0e30$1b06a8c0@CMPMEL>

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.




view thread (3+ messages)  latest in thread

Message-ID: <Pine.LNX.4.33.0306170813190.2018-100000@css120.ihs.com>
Permalink:  ../Pine.LNX.4.33.0306170813190.2018-100000@css120.ihs.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0306170813190.2018-100000@css120.ihs.com

 · 

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: scott.marlowe@ihs.com, mel@gmanmi.tv
  Subject: Re: psql DBNAME -U USER (how to disable -U option?)
  In-Reply-To: <Pine.LNX.4.33.0306170813190.2018-100000@css120.ihs.com>
  References: <000201c334d8$476c0e30$1b06a8c0@CMPMEL> <Pine.LNX.4.33.0306170813190.2018-100000@css120.ihs.com>

* 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