Re: making another super user other than postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Bob Powell" <Bob(at)hotchkiss(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: making another super user other than postgres
Date: 2004-11-11 19:01:08
Message-ID: 10283.1100199668@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Bob Powell" <Bob(at)hotchkiss(dot)org> writes:
> My systems admin says that he needs to have use of the Postgres user
> without a password. His Debian package manager requires this.
> He tells me that he can lock down that user on the system so that there
> are no security concerns.

Why can't he put his password in ~/.pgpass?

Or if you don't like that, see if you can set up to let him in with
IDENT. But using TRUST on a multi-user machine is just asking for
trouble.

> Also, my method for creating another superuser is to update the
> pg_shadow files "usesuper" field to 't'.

The CREATEUSER option to CREATE/ALTER USER is the same thing.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2004-11-11 19:03:18 Re: DROP DATABASE, but still there
Previous Message Tom Lane 2004-11-11 18:56:48 Re: Vacuum message