[uClibc]getpass() prints password after hitting enter

Edo-Martijn Janssen emj at xs4all.nl
Thu Apr 4 06:35:35 UTC 2002


On Thursday 04 April 2002 01:29, Jason Luther wrote:
> From: "Erik Andersen" <andersen at codepoet.org>
>
> > On Tue Mar 26, 2002 at 05:13:18PM +0000, Kensuke Otake wrote:
> > > As the title says, getpass() prints the password immediately after
>
> hitting enter.
>
> > > This happens with all programs dynamically linked against uClibc
>
> 0.9.10.
>
> > [...]
> >
> > I just wrote up the following little test app, and it
> > worked just as expected for me (i.e. no unwanted echoing).
> > Perhaps something is hosing up your console somehow?
>
> I just upgraded to today's snapshot from 0.9.9, and I have a similar
> problem. If I telnet to my uClibc system (or just run 'login' (tinylogin)
> from the commandline), my password is echoed when I hit enter, and my login
> fails.
>
> When I run the program below, the password gets echoed as well when I hit
> enter, but it prints out the correct password.
>
> Are others who are having this problem able to log in?

I am using uclibc0.9.10 and I am having the same problem although log in 
works OK. I can change my password and even add a user. Only the password is 
displayed after hitting enter.

Rgds
Edo-Martijn Janssen



More information about the uClibc mailing list