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

From Arup Rakshit
Subject How to recover or resent the password for the user 'postgres'
Date
Msg-id 28447293.674468.1427702964877.JavaMail.yahoo@mail.yahoo.com
Whole thread Raw
Responses Re: How to recover or resent the password for the user 'postgres'  (Michael Paquier <michael.paquier@gmail.com>)
Re: How to recover or resent the password for the user 'postgres'  (John McKown <john.archie.mckown@gmail.com>)
Re: How to recover or resent the password for the user 'postgres'  (Adrian Klaver <adrian.klaver@aklaver.com>)
List 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@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 role
witha password in this case ? 

I am using OS X version 10.8.2
 Regards,
Arup Rakshit


pgsql-general by date:

Previous
From: Bankim Bhavsar
Date:
Subject: Re: Index corruption
Next
From: Michael Paquier
Date:
Subject: Re: How to recover or resent the password for the user 'postgres'