pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ray Stell <stellr@cns.vt.edu>
To: Kranti K K Parisa? <kranti.parisa@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Forgot Root Password
Date: Sat, 26 Apr 2008 08:34:13 -0400
Message-ID: <20080426123413.GA4035@cns.vt.edu> (raw)
In-Reply-To: <4478b4ac0804252230u5eb1a7f4k5878eb11b8611765@mail.gmail.com>
References: <4478b4ac0804252230u5eb1a7f4k5878eb11b8611765@mail.gmail.com>

On Sat, Apr 26, 2008 at 11:00:35AM +0530, Kranti K K Parisa? wrote:
> Can anyone suggest a way to retrieve/update the postgres root password ?


edit pg_hba.conf so that localhost connections from localhost are trusted maybe like
this:

host    all         all         127.0.0.1/32          trust

you have to restart, but then you can do an alter user and so can all the other local
users.



view thread (5+ messages)  latest in thread

Message-ID: <20080426123413.GA4035@cns.vt.edu>
Permalink:  ../20080426123413.GA4035@cns.vt.edu/
Also on:    postgresql.org/message-id/20080426123413.GA4035@cns.vt.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: stellr@cns.vt.edu, kranti.parisa@gmail.com
  Subject: Re: Forgot Root Password
  In-Reply-To: <20080426123413.GA4035@cns.vt.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox