Re: [GENERAL] postgres password change

2010-02-25 Thread akp geek
I don't have the root privileges. But I have followed the instructions http://www.depesz.com/index.php/2008/11/28/recovering-lost-postgresql-password/ it worked out well. Thanks for the suggestion Regards On Thu, Feb 25, 2010 at 10:21 AM, paragasu wrote: > if you know the root password > > #s

Re: [GENERAL] postgres password change

2010-02-25 Thread akp geek
Thank you. It worked Regards On Thu, Feb 25, 2010 at 10:18 AM, hubert depesz lubaczewski < dep...@depesz.com> wrote: > On Thu, Feb 25, 2010 at 10:15:55AM -0500, akp geek wrote: > > Dear all - > > > > I forgot the password for the postgres user for the > > database. Is there

Re: [GENERAL] postgres password change

2010-02-25 Thread paragasu
if you know the root password #su root #su postgres #psql #alter role with password it think that should do On Thu, Feb 25, 2010 at 11:15 PM, akp geek wrote: > Dear all - > > I forgot the password for the postgres user for the > database. Is there way I can reset the pa

Re: [GENERAL] postgres password change

2010-02-25 Thread hubert depesz lubaczewski
On Thu, Feb 25, 2010 at 10:15:55AM -0500, akp geek wrote: > Dear all - > > I forgot the password for the postgres user for the > database. Is there way I can reset the password to whatever I want. When I > do the psql -U postgres , it's prompting me the password. Can you pleas

[GENERAL] postgres password change

2010-02-25 Thread akp geek
Dear all - I forgot the password for the postgres user for the database. Is there way I can reset the password to whatever I want. When I do the psql -U postgres , it's prompting me the password. Can you please help? Regards