Re: resetting superuser password - Mailing list pgsql-admin

From Stef
Subject Re: resetting superuser password
Date
Msg-id 20051109150116.4f9e8fd6@svb.ucs.co.za
Whole thread Raw
In response to resetting superuser password  ("mad" <mad7@runbox.com>)
List pgsql-admin
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
=>

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: upgrade from 8.0.3 to 8.1.0
Next
From: Marcin Giedz
Date:
Subject: Xeon vs Opteron - tests and questions