psql DBNAME -U USER (how to disable -U option?)

From: "Mel Jamero" <mel(at)gmanmi(dot)tv>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: psql DBNAME -U USER (how to disable -U option?)
Date: 2003-06-17 13:56:40
Message-ID: 000201c334d8$476c0e30$1b06a8c0@CMPMEL
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Attachment Content-Type Size
winmail.dat application/ms-tnef 1.7 KB

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message scott.marlowe 2003-06-17 14:13:46 Re: psql DBNAME -U USER (how to disable -U option?)
Previous Message Greg Spiegelberg 2003-06-17 13:24:12 Re: Starting postgres on Solaris