How to recover or resent the password for the user 'postgres'

From: Arup Rakshit <aruprakshit(at)rocketmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: How to recover or resent the password for the user 'postgres'
Date: 2015-03-30 08:09:24
Message-ID: 28447293.674468.1427702964877.JavaMail.yahoo@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)myapp(add_postgres_addapter)]$ su - postgres
Password:
su: Sorry
[shreyas(at)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 role with a password in this case ?

I am using OS X version 10.8.2
Regards,
Arup Rakshit

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2015-03-30 08:18:00 Re: How to recover or resent the password for the user 'postgres'
Previous Message Bankim Bhavsar 2015-03-30 04:57:31 Re: Index corruption