From: Stef <svb@ucs.co.za>
To: mad <mad7@runbox.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: resetting superuser password
Date: Wed, 9 Nov 2005 15:01:16 +0200
Message-ID: <20051109150116.4f9e8fd6@svb.ucs.co.za> (raw)
In-Reply-To: <1131540234.526161.161670@g43g2000cwa.googlegroups.com>
References: <1131540234.526161.161670@g43g2000cwa.googlegroups.com>
Just disable password checking in pg_hba.conf.
mad mentioned :
=> 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
=>
=>
=> ---------------------------(end of broadcast)---------------------------
=> TIP 3: Have you checked our extensive FAQ?
=>
=> http://www.postgresql.org/docs/faq
=>
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: svb@ucs.co.za, mad7@runbox.com
Subject: Re: resetting superuser password
In-Reply-To: <20051109150116.4f9e8fd6@svb.ucs.co.za>
References: <1131540234.526161.161670@g43g2000cwa.googlegroups.com> <20051109150116.4f9e8fd6@svb.ucs.co.za>
* 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