This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Windows whoami returns hostname\sshd_server after ssh auth key login
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: "DeGraff, Adam" <adegraff at rsasecurity dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 12 Sep 2006 18:13:37 -0400 (EDT)
- Subject: Re: Windows whoami returns hostname\sshd_server after ssh auth key login
- References: <A6A2706C1F47D24F92D56A457CDE62E504633585@rsana-ex-sm1.NA.RSA.NET>
- Reply-to: cygwin at cygwin dot com
On Tue, 12 Sep 2006, DeGraff, Adam wrote:
> I have read the archives and am guessing that I am stuck with this auth
> key login gets sshd_server userid behavior.
>
> Example of whoami returns correctly when logged with password:
> Administrator@win-am-install ~
> $ C:/windows/system32/whoami
> win-am-install\administrator
>
> Example of whoami returning incorreclty when ssh'ing in via auth keys
> (no passwd):
> Administrator@win-am-install ~
> $ ssh Administrator@win-am-install "C:/windows/system32/whoami"
> win-am-install\sshd_server
>
> Am I correct in this assumption? Is there a workaround?
<http://cygwin.com/ml/cygwin/2006-08/msg01084.html>.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
--
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/