pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc A. Donis <mad7@runbox.com>
To: pgsql-admin@postgresql.org
Subject: Fwd: resetting superuser password
Date: Wed, 09 Nov 2005 13:38:24 +0100 (CET)
Message-ID: <E1EZpDc-0001mP-2c@garm.runbox.com> (raw)

I have lost the superuser (user postgres) password, but I still have the unix root password.  Is there anything I can do to reset the postgres user's password (short of reinstalling Postgres)?

Obviously, I can su to unix user postgres, but this does not seem to advance my cause, as doing "psql -U postgres" still prompts me for a password, which is not the same as the unix postgres user's password. 

OS: RedHat 9

Help!

Thanks,
Marc



view thread (5+ messages)  latest in thread

Message-ID: <E1EZpDc-0001mP-2c@garm.runbox.com>
Permalink:  ../E1EZpDc-0001mP-2c@garm.runbox.com/
Also on:    postgresql.org/message-id/E1EZpDc-0001mP-2c@garm.runbox.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: mad7@runbox.com
  Subject: Re: Fwd: resetting superuser password
  In-Reply-To: <E1EZpDc-0001mP-2c@garm.runbox.com>
  References: <E1EZpDc-0001mP-2c@garm.runbox.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