X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: Windows whoami returns hostname\sshd_server after ssh auth key login Date: Tue, 12 Sep 2006 13:39:02 -0700 Message-ID: From: "DeGraff, Adam" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k8CKdG06019880 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 AT 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 AT win-am-install ~ $ ssh Administrator AT win-am-install "C:/windows/system32/whoami" win-am-install\sshd_server Am I correct in this assumption? Is there a workaround? Thanks, Adam -- 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/