help with - psql: FATAL: Password authentication failed for user "gforge" - Mailing list pgsql-admin

From Sukhdeep Johar
Subject help with - psql: FATAL: Password authentication failed for user "gforge"
Date
Msg-id 2ef564dc041228025440383142@mail.gmail.com
Whole thread Raw
Responses Re: help with - psql: FATAL: Password authentication failed for user "gforge"
Re: help with - psql: FATAL: Password authentication failed
List pgsql-admin
I followed these steps to create a new user :
1. createuser -P gforge
2. createdb -U gforge -E UNICODE gforge
3. createlang plpgsql gforge

this gave no errors.
But when I try to log in, I get the foll error
# psql -h localhost -U gforge gforge
psql: FATAL:  Password authentication failed for user "gforge"

Any comments, what may be going wrong ?
--
Neither success nor failure is ever final


--
Neither success nor failure is ever final

pgsql-admin by date:

Previous
From: "Soeren Laursen"
Date:
Subject: Re: Soundex
Next
From: "Benjamin GASSMANN"
Date:
Subject: Re: help with - psql: FATAL: Password authentication failed for user "gforge"