Current-Users archive

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

Re: su/ssh localhost problems

On Apr 30, 2012, at 10:04 AM, 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
> accepted.
A $PATH issue?  What happens in a non-working window if you do

        which ssh

(or whatever your shell's idiom is)?

                --Steve Bellovin,

Home | Main Index | Thread Index | Old Index