X-Spam-Check-By: sourceware.org
Message-ID: <192cb2440701221116i4dcdc9eds98bdafdade1b2018@mail.gmail.com>
Date: Mon, 22 Jan 2007 11:16:48 -0800
From: "Mike Yoder" <yoderme@gmail.com>
To: cygwin@cygwin.com
Subject: Re: When ssh'd in, cannot run MS compiler /Zi debug option
In-Reply-To: <192cb2440701220955u4d5a5c7bse84474fd60fa8988@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <192cb2440701220955u4d5a5c7bse84474fd60fa8988@mail.gmail.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> On Jan 19 18:13, Mike Yoder wrote:
> > I see that using password authentication does make the problem go away
> > for accounts local to the machine.  But if I ssh into this machine
> > using a domain account and use password authentication, whoami still
> > tells me that I'm the sshd_server.  (I built /etc/passwd using
> > 'mkpasswd -c -l -d'; when on the console whoami says 'DOMAIN\username'
> > as expected)  Any ideas why this is?
>
> Maybe you're not using the latest Cygwin version.  There were some issues
> with previous releases which you can find in the ML archives.  Another
> chance is that you changed /etc/group so that Cygwin thinks it has to
> add groups to your user token after password authentication took place.

Thanks for replying, Corinna.  I installed cygwin just a week or two
ago.  To my knowledge I haven't touched /etc/group (after mkgroup).
The relevent parts of /etc/passwd and /etc/group follow.  When the
Administrator account ssh's in, it becomes Admistrator.  When myoder
ssh's in, I'm sshd_server.

/etc/passwd
Administrator:unused_by_nt/2000/xp:500:513:U-WINBUILD1\Administrator,S-1-5-21-15
27866898-1833586698-2942445752-500:/home/Administrator:/bin/bash
myoder:unused_by_nt/2000/xp:11819:10513:Mike Yoder,U-DOMAIN\myoder,S-1-5-21-3
992547366-3650675702-3870580548-1819:/home/myoder:/bin/bash

/etc/group
None:S-1-5-21-1527866898-1833586698-2942445752-513:513:
Domain Users:S-1-5-21-3992547366-3650675702-3870580548-513:10513:

Anyway, I guess the answer to my greater question about the Microsoft
compiler is "no".  Thanks for your help.

-Mike Yoder

--
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/

