pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mel Jamero <mel@gmanmi.tv>
To: pgsql-admin@postgresql.org
Subject: psql DBNAME -U USER (how to disable -U option?)
Date: Tue, 17 Jun 2003 21:56:40 +0800
Message-ID: <000201c334d8$476c0e30$1b06a8c0@CMPMEL> (raw)
In-Reply-To: <B7D27A23094E40428993B399E9CD427234F115@2kmail>

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.

thanks in advance.

mel

Attachments:

  winmail.dat (application/ms-tnef, 1.7K) download

view thread (3+ messages)  latest in thread

Message-ID: <000201c334d8$476c0e30$1b06a8c0@CMPMEL>
Permalink:  ../000201c334d8$476c0e30$1b06a8c0@CMPMEL/
Also on:    postgresql.org/message-id/000201c334d8$476c0e30$1b06a8c0@CMPMEL

 · 

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: mel@gmanmi.tv
  Subject: Re: psql DBNAME -U USER (how to disable -U option?)
  In-Reply-To: <000201c334d8$476c0e30$1b06a8c0@CMPMEL>
  References: <B7D27A23094E40428993B399E9CD427234F115@2kmail> <000201c334d8$476c0e30$1b06a8c0@CMPMEL>

* 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