Re: Fwd: resetting superuser password - Mailing list pgsql-admin

From Devrim GUNDUZ
Subject Re: Fwd: resetting superuser password
Date
Msg-id Pine.LNX.4.63.0511091442550.14882@mail.kivi.com.tr
Whole thread Raw
In response to Fwd: resetting superuser password  ("Marc A. Donis" <mad7@runbox.com>)
Responses Re: Fwd: resetting superuser password
List pgsql-admin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Wed, 9 Nov 2005, Marc A. Donis wrote:

> 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)?

Edit pg_hba.conf and set the auth method to trust. Then reload postgresql.
This will stop PostgreSQL from asking you a password.

Regards,
- --
Devrim GUNDUZ
Kivi Bilişim Teknolojileri - http://www.kivi.com.tr
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                       http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDce8u4zE8DGqpiZARArkjAJ4jmuLYV6I3oLnTowbF3d0IOfDYTQCeKDqZ
je2SdfQvAxgOTUhirXlzq6A=
=8VN2
-----END PGP SIGNATURE-----

pgsql-admin by date:

Previous
From: "Marc A. Donis"
Date:
Subject: Fwd: resetting superuser password
Next
From: "mad"
Date:
Subject: resetting superuser password