delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/22/14:18:03

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 AT gmail DOT com>
To: cygwin AT cygwin DOT 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
References: <192cb2440701220955u4d5a5c7bse84474fd60fa8988 AT mail DOT gmail DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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

- Raw text -


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