Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: su/ssh localhost problems

In article <>,
Thomas Klausner  <> wrote:
>On Mon, Apr 30, 2012 at 09:39:05AM +0200, Thomas Klausner wrote:
>> Hi!
>> I've just upgraded to a 20120429 snapshot of NetBSD-amd64 build with clang.
>> I have trouble becoming root. login on the console works, but when I
>> login as another user and run "su", <enter> is not accepted -- I can't
>> get out of the password prompt except by pressing ctrl-c. CTRL-J and
>> CTRL-M don't work either.
>> I installed the snapshots as usual, so I don't think it's a
>permissions problem.
>> -r-sr-xr-x  1 root  wheel  50429 Apr 30 00:17 /usr/bin/su
>> I then tried "ssh root@localhost"
>> # ssh root@localhost
>> The authenticity of host 'localhost (::1)' can't be established.
>> ECDSA key fingerprint is 0f:4d:ce:5c:35:c4:98:7e:a9:62:ee:98:d5:fb:68:87.
>> Are you sure you want to continue connecting (yes/no)? yes??
>> The '?' are what appear when I press enter.
>> My terminal is
>> # echo $TERM
>> screen
>> But "export TERM=vt220" or "export TERM=dumb" doesn't change anything.
>> My previous snapshot was from 20120408.
>> Anyone else seen this?
>To add more details: When I start an xterm in vnc and connect to it,
>then I can su there. The TERM is xterm there. But when I change the
>TERM to xterm in the ssh-terminal window, <enter> still isn't
>I'm a bit confused now.
> Thomas

This would be an artifact of the new getpass(3) What does stty -a say?
It does not have to do with terminal, but tty settings.


Home | Main Index | Thread Index | Old Index