Re: Help: Dumb newbie locked himself out!

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Balazs Wellisch" <balazs(at)bwellisch(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Help: Dumb newbie locked himself out!
Date: 2002-07-17 19:52:29
Message-ID: 16415.1026935549@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Balazs Wellisch" <balazs(at)bwellisch(dot)com> writes:
> UPDATE pg_shadow SET usesuper = true WHERE usename = 'postgres';
> ERROR: pg_shadow: Permission denied.

Hmm. I forgot that you'd need usecatupd privilege to do that.

> Any other suggestions? I appreciate your help.

I think you may be stuck :-( ... unless you want to risk editing the
pg_shadow file with a binary-file editor.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Søren Neigaard 2002-07-17 20:43:42 How do I only allow one group access to my database
Previous Message Balazs Wellisch 2002-07-17 17:58:17 Re: Help: Dumb newbie locked himself out!