delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/13/18:40:55

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Windows whoami returns hostname\sshd_server after ssh auth key login
Date: Wed, 13 Sep 2006 15:40:37 -0700
Message-ID: <A6A2706C1F47D24F92D56A457CDE62E5046338F6@rsana-ex-sm1.NA.RSA.NET>
From: "DeGraff, Adam" <adegraff AT rsasecurity DOT com>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k8DMen9D026657

Installing the snapshot did not remedy the pub key auth situation, as I
cannot get doze to think the user is Administrator after a non-password
ssh login.  Now doze thinks it's the "system" user.  Is there another
workaround to get doze to recognize the user you ssh in with public key
authorization?

RE: Windows whoami returns hostname\sshd_server after ssh auth key login
From: "DeGraff, Adam" <adegraff at rsasecurity dot com> 

I installed the snapshot with Corinna's fix and now I get an entirely
different user (system):

Administrator AT am-inst-das-win ~
$ ssh Administrator AT am-inst-das-win "C:/Windows/system32/whoami"
nt authority\system

<cut>

....

</cut>
-----Original Message-----
From: Igor Peshansky [mailto:pechtcha AT cs DOT nyu DOT edu] 
>
> Am I correct in this assumption?  Is there a workaround?

<http://cygwin.com/ml/cygwin/2006-08/msg01084.html>.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019