[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svn 1.6 client echoes password

From: Patrick Oor <patrick.oor_at_nxp.com>
Date: Wed, 6 Jan 2010 08:51:59 +0100

Thanks. I will check my APR installation as you suggest.

- Patrick

-----Original Message-----
From: Stefan Sperling [mailto:stsp_at_elego.de]
Sent: Tuesday, January 05, 2010 3:13 PM
To: Patrick Oor
Cc: users_at_subversion.apache.org
Subject: Re: svn 1.6 client echoes password

On Tue, Jan 05, 2010 at 02:25:00PM +0100, Patrick Oor wrote:
> When I switched my SVN client on Red Hat Linux 4 from SVN 1.5.4 to
> 1.6.3 I found out that the newer SVN client echoes my password to the
> screen when I type it. I looked for a fix on the internet (including
> this project) but have not found anything yet. Who can help? Why is
> SVN echoing the password and how can I switch it off again?

Subversion relies on APR to read passwords without echoing.
So this must be a problem with APR, not Subversion.

Check your APR installation.
If the APR compilation process does not detect a getpass(),
getpassphrase(), or getpass_r() routine, or the termios.h
header file, then APR stupidly falls back to reading the password
with a simple fgets() call. This might explain your situation.

The above is valid for APR-1.3.x. I haven't checked other versions.

Stefan
Received on 2010-01-06 08:53:08 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.