Skip site navigation (1) Skip section navigation (2)

Re: BUG #4621: Password is shown on the terminal

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Rizwan Akbar <rizwan(dot)akbar(at)catalisse(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4621: Password is shown on the terminal
Date: 2009-01-19 23:15:48
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Rizwan Akbar wrote:
> The following bug has been logged online:
> Bug reference:      4621
> Logged by:          Rizwan Akbar
> Email address:      rizwan(dot)akbar(at)catalisse(dot)com
> PostgreSQL version: 8.2
> Operating system:   Windows XP
> Description:        Password is shown on the terminal
> Details: 
> Steps to reproduce: -
> 1) Take a dump of any database from the console.
> 2) Now restore the DB by using the following command and parameters.
> psql -U postgres testdb < D:\backups\jan1809.sql
> 3) When you press 'Enter' button, system asks for the password.
> 4) When you type password, it is shown in the plain text instead of in
> encrypted form or hidden from the user.
> Expected Result: -
> 1) Password should be hidden or *s should be shown.
> Note that I am using the Win XP with service pack 3.

Hmmm.  Please try specifying the file name with psql -f, rather than <.

  Bruce Momjian  <bruce(at)momjian(dot)us>

  + If your life is a hard drive, Christ can be your backup. +

In response to

pgsql-bugs by date

Next:From: Hiroshi InoueDate: 2009-01-20 03:52:12
Subject: Re: [BUGS] BUG #4186: set lc_messages does not work
Previous:From: Magnus HaganderDate: 2009-01-19 14:39:30
Subject: Re: [BUGS] BUG #4186: set lc_messages does not work

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group