From: Mark McEahern <marklists@mceahern.com>
To: Jeff Kowalczyk <jtk@adelphia.net>
To: pgsql-admin@postgresql.org
Subject: Re: Forgot admin pw on initialization/install RH 7.3/PGSQL7.2
Date: Thu, 23 May 2002 22:48:34 -0500
Message-ID: <NCBBLFCOHHDIKCAFGCFBCEDALBAA.marklists@mceahern.com> (raw)
In-Reply-To: <000001c202d1$f44cf5e0$6401a8c0@laptop>
[Jeff Kowalczyk]
> I made a dumb mistake, and forgot to write down the autogenerated
> administrator password when I first started the Postgres database on
> RedHat 7.3. I'm having a hard time finding information on how to do this
> online, and it's a tricky term to search the archives for, as well.
>
> I don't have any data I need to save (obviously), so how do I nuke the
> data and configuration (particularly the admin user) created during the
> initialization startup script? I don't want to go randomly deleting
> postgres' .conf files when I don't know what I'm looking for.
You could delete the primary database cluster, which I think is typically
stored here:
/usr/local/pgsql/data/
You might want to just move it. Then try using initdb to create a new
primary database cluster.
I'm fairly new to PostgreSQL, so there may be a more subtle approach I'm not
thinking of.
Cheers,
// mark
-
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: marklists@mceahern.com, jtk@adelphia.net
Subject: Re: Forgot admin pw on initialization/install RH 7.3/PGSQL7.2
In-Reply-To: <NCBBLFCOHHDIKCAFGCFBCEDALBAA.marklists@mceahern.com>
References: <000001c202d1$f44cf5e0$6401a8c0@laptop> <NCBBLFCOHHDIKCAFGCFBCEDALBAA.marklists@mceahern.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