Re: How to recover or resent the password for the user 'postgres' - Mailing list pgsql-general

From Arup Rakshit
Subject Re: How to recover or resent the password for the user 'postgres'
Date
Msg-id 3771279.5EPnE80VGY@linux-wzza.aruprakshit
Whole thread Raw
In response to Re: How to recover or resent the password for the user 'postgres'  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
On Monday, March 30, 2015 06:27:19 AM Adrian Klaver wrote:
> On 03/30/2015 01:09 AM, Arup Rakshit wrote:
> > Hi,
> >
> > I am trying to follow what has been mentioned below **Setting Up Postgres**
(https://www.digitalocean.com/community/tutorials/how-to-setup-ruby-on-rails-with-postgres).
> >
> > But no luck!
> >
> > [shreyas@myapp(add_postgres_addapter)]$ su - postgres
> > Password:
> > su: Sorry
> > [shreyas@myapp (add_postgres_addapter)]$
> >
> > It is asking me the password, whereas I don't know the password of the user `postgres`. How would I create a new
rolewith a password in this case ? 
>
> How did you install Postgres?

I didn't install. I joined a company as an Application developer, where the machine I have been assigned had PostgreSql
alreadyinstalled. I changed the configuration of the pg_hba.config as *trust*, and it worked. 

Thanks for the help to all of you.

--
================
Regards,
Arup Rakshit
================
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as
possible,you are, by definition, not smart enough to debug it. 

--Brian Kernighan


pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Relation name stored in Postgres
Next
From: Melvin Davidson
Date:
Subject: Re: Relation name stored in Postgres