Re: [GENERAL] resetting superuser password

2005-11-09 Thread TJ O'Donnell
I would unix su, edit pg_hba.conf to allow open access temporarily, connect to pg and change the posgres password. Don't forget to change pg_hba.conf back again to password protect the db! TJ I have lost the superuser (user postgres) password, but I still have the unix root password. Is there

Re: [GENERAL] resetting superuser password

2005-11-09 Thread Martijn van Oosterhout
On Wed, Nov 09, 2005 at 04:42:39AM -0800, mad 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 to let you in without a passwo

[GENERAL] resetting superuser password

2005-11-09 Thread mad
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 p