From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | "Shashank Sahni" <shredder12(at)gmail(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: How to know the password for the user 'postgres' |
Date: | 2008-10-28 04:59:08 |
Message-ID: | dcc563d10810272159l58367e04pe607a6820127b04e@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, Oct 27, 2008 at 10:55 PM, Shashank Sahni <shredder12(at)gmail(dot)com> wrote:
>
>
>> createuser: could not connect to database postgres: FATAL: password
>> authentication failed for user "postgres"
>>
>> Odd I would have expected it to say something about identd
>> authentication failing.
>>
>> Have you tried:
>>
>> sudo su - postgres
>> createuser -d -A -P dpsace
>>
>> ?
>
> Oh... I am sorry...you are right...the error is
> "Ident authentication failed for user 'postgres' "
> the error specified earlier appeared when i tried running.
> createuser -h localhost -U postgres -d -A -P dspace
> Thanks for pointing it out..
No problem. You might wanna look into the pg_hba.conf file. Like
most pgsql files it's self documenting, so just reading it will tell
you quite a bit. /etc/postgresql/8.3/main/pg_hba.conf I believe is
where it is on ubuntu.
From | Date | Subject | |
---|---|---|---|
Next Message | Tony Caduto | 2008-10-28 05:22:49 | Re: How to know the password for the user 'postgres' |
Previous Message | Shashank Sahni | 2008-10-28 04:55:47 | Re: How to know the password for the user 'postgres' |