Re: Fwd: resetting superuser password

Поиск
Список
Период
Сортировка
От Devrim GUNDUZ
Тема Re: Fwd: resetting superuser password
Дата
Msg-id Pine.LNX.4.63.0511091442550.14882@mail.kivi.com.tr
обсуждение исходный текст
Ответ на Fwd: resetting superuser password  ("Marc A. Donis" <mad7@runbox.com>)
Ответы Re: Fwd: resetting superuser password  ("mad" <mad7@runbox.com>)
Список 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 по дате отправления:

Предыдущее
От: "Marc A. Donis"
Дата:
Сообщение: Fwd: resetting superuser password
Следующее
От: "mad"
Дата:
Сообщение: resetting superuser password