Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 28529B5D803 for ; Tue, 18 Oct 2011 02:38:37 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 34175-08 for ; Tue, 18 Oct 2011 05:38:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from exprod7og113.obsmtp.com (exprod7og113.obsmtp.com [64.18.2.179]) by mail.postgresql.org (Postfix) with ESMTP id 1D6ADB5DBFD for ; Tue, 18 Oct 2011 02:38:29 -0300 (ADT) Received: from mail-pz0-f45.google.com ([209.85.210.45]) (using TLSv1) by exprod7ob113.postini.com ([64.18.6.12]) with SMTP; Mon, 17 Oct 2011 22:38:30 PDT Received: by pzk1 with SMTP id 1so688189pzk.4 for ; Mon, 17 Oct 2011 22:38:29 -0700 (PDT) Received: by 10.68.209.103 with SMTP id ml7mr2699235pbc.17.1318916308752; Mon, 17 Oct 2011 22:38:28 -0700 (PDT) Received: from [172.24.35.13] ([122.163.230.243]) by mx.google.com with ESMTPS id v7sm3677380pbr.10.2011.10.17.22.38.25 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Oct 2011 22:38:27 -0700 (PDT) Subject: Re: BUG #6260: not accept password Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-9--840798331 From: Sachin Srivastava In-Reply-To: Date: Tue, 18 Oct 2011 11:08:21 +0530 Cc: pgsql-bugs@postgresql.org Message-Id: References: To: Ric Eittreim X-Mailer: Apple Mail (2.1084) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.129 tagged_above=-5 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_SORBS_WEB=0.77 X-Spam-Level: X-Archive-Number: 201110/156 X-Sequence-Number: 31426 --Apple-Mail-9--840798331 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 [Please reply to the list] On Oct 18, 2011, at 10:45 AM, Ric Eittreim wrote: > Hello Sachin - I have tried that and appreciate the suggestion - just = did > not work. When I did the install, I remember twice it asked for a = name, > both times I gave the same one (4 characters) - so now I'm wondering = if > the system asks automatically for a password (now I'm questioning my > memory of the install process a few hours ago) - I have done so many > iterations of trying to get this working I have myself completely > confused. What I would like to do is start over, delete that account = and > setup a new one but I cannot even get to the psql prompt as it = requires=8A. > A password! You can change the authentication mode to trust in your pg_hba.conf file = (which is located inside the PGDATA directory). After this you need to = reload the server.=20 You wont be asked a password this time. Log in and the change the = password of the user using ALTER ROLE (see = http://www.postgresql.org/docs/9.0/static/sql-alterrole.html) Then you can change the authentication settings back and use the changed = password.=20 >=20 > Ric >=20 >=20 > On 10/17/11 9:41 PM, "Sachin Srivastava" > wrote: >=20 >>=20 >> On Oct 18, 2011, at 3:49 AM, Ric Eittreim wrote: >>=20 >>>=20 >>> The following bug has been logged online: >>>=20 >>> Bug reference: 6260 >>> Logged by: Ric Eittreim >>> Email address: ric@groundtruth.com >>> PostgreSQL version: 9.0.4 >>> Operating system: Mac LION >>> Description: not accept password >>> Details:=20 >>>=20 >>> I just installed Postgres for the first time to learn sql. After = what >>> appeared to be a successful install, I enter psql and it prompts for = a >>> password. I enter the same password that is requested (twice) = during >>> the >>> install but no matter what I try, it claims "incorrect password >>> attempts" - >>> I used only 4 simple characters (rwe9) as this is just a place to >>> learn.=20 >>> Can you help me please??? >> try giving -U option to psql and then enter the password = for >> that user. >>=20 >>>=20 >>> --=20 >>> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) >>> To make changes to your subscription: >>> http://www.postgresql.org/mailpref/pgsql-bugs >>=20 >> -- >> Regards, >> Sachin Srivastava >> EnterpriseDB, the Enterprise PostgreSQL company. >>=20 >=20 -- Regards, Sachin Srivastava EnterpriseDB, the Enterprise PostgreSQL company. --Apple-Mail-9--840798331 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Hello = Sachin - I have tried that and appreciate the suggestion - just = did
not work.  When I did the install, I remember twice it asked = for a name,
both times I gave the same one (4 characters) - so now = I'm wondering if
the system asks automatically for a password (now = I'm questioning my
memory of the install process a few hours ago) - I = have done so many
iterations of trying to get this working I have = myself completely
confused.  What I would like to do is start = over, delete that account and
setup a new one but I cannot even get = to the psql prompt as it requires=8A.
A = password!

You can change the = authentication mode to trust in your pg_hba.conf file (which is located = inside the PGDATA directory). After this you need to reload the = server. 
You wont be asked a password this time. Log in = and the change the password of the user using ALTER ROLE (see http= ://www.postgresql.org/docs/9.0/static/sql-alterrole.html)
Th= en you can change the authentication settings back and use the changed = password. 

Ric


On 10/17/11 9:41 PM, "Sachin = Srivastava"
<sachin.srivastava@enter= prisedb.com> wrote:


On Oct 18, = 2011, at 3:49 AM, Ric Eittreim wrote:


The following bug has been = logged online:

Bug reference: =      6260
Logged by: =          Ric = Eittreim
Email address: =      ric@groundtruth.com
PostgreSQL version: = 9.0.4
Operating system:   Mac = LION
Description:        not = accept password
Details: =

I just installed Postgres for = the first time to learn sql.  After = what
appeared to be a successful install, I enter psql and it = prompts for a
password.  I enter the same = password that is requested (twice) = during
the
install but no matter what I = try, it claims "incorrect = password
attempts" = -
I used only 4 simple characters (rwe9) as this is just a = place to
learn. =
Can you help me = please???
try = giving -U <username> option to psql and then enter the password = for
that = user.


-- =
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your = subscription:
http://www.postgres= ql.org/mailpref/pgsql-bugs

--
Regards,
Sachin = Srivastava
EnterpriseDB, the = Enterprise PostgreSQL company.



--Regards,
Sachin Srivastava
EnterpriseDB, the Enterprise = PostgreSQL company.

= --Apple-Mail-9--840798331--