pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Grzegorz Szpetkowski <gszpetkowski@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5957: createdb with description and md5 auth forces to provide password twice
Date: Tue, 6 Sep 2011 13:24:08 -0400 (EDT)
Message-ID: <201109061724.p86HO8b12420@momjian.us> (raw)
In-Reply-To: <201103300120.p2U1KBNN038382@wwwmaster.postgresql.org>

Grzegorz Szpetkowski wrote:
> 
> The following bug has been logged online:
> 
> Bug reference:      5957
> Logged by:          Grzegorz Szpetkowski
> Email address:      gszpetkowski@gmail.com
> PostgreSQL version: 9.0.3
> Operating system:   Ubuntu 10.10
> Description:        createdb with description and md5 auth forces to provide
> password twice
> Details: 
> 
> How to reproduce the problem:
> 
> 1.Create new role with (encrypted password):
> createuser -SdRP user
> 2.In PostgreSQL 9.0.3 I found pg_hba.conf with local all all ident, so
> change to local all all md5
> 3.Restart/Reload used cluster
> 4.Execute createdb -U user mydb "My DB Description"
> 
> Output:
> 
> Password: 
> Password: 
> 
> creatdb command prompts password twice and I think it's improper behaviour
> (and documentation is silent about that).

FYI, this will be fixed in Postgres 9.1.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +



view thread (6+ messages)

Message-ID: <201109061724.p86HO8b12420@momjian.us>
Permalink:  ../201109061724.p86HO8b12420@momjian.us/
Also on:    postgresql.org/message-id/201109061724.p86HO8b12420@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bruce@momjian.us, gszpetkowski@gmail.com
  Subject: Re: BUG #5957: createdb with description and md5 auth forces to provide password twice
  In-Reply-To: <201109061724.p86HO8b12420@momjian.us>
  References: <201103300120.p2U1KBNN038382@wwwmaster.postgresql.org> <201109061724.p86HO8b12420@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox