delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/18/07:22:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 18 Oct 2000 12:21:33 +0100
Message-ID: <2203-Wed18Oct2000122133+0100-starksb@ebi.ac.uk>
X-Mailer: emacs 20.7.1 (via feedmail 9-beta-7 I);
VM 6.75 under Emacs 20.7.1
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: corinna AT cygnus DOT com
CC: cygwin AT sources DOT redhat DOT com
Subject: Re: FW: 'id' on NT/2000
In-Reply-To: <39EC8229.21EEFDA1@cygnus.com>
References: <44632C76B97BD211AF6B00805FADCAB2027CAA08 AT exchange DOT saltaire DOT pace DOT co DOT uk>
<39EC8229 DOT 21EEFDA1 AT cygnus DOT com>

On Tuesday 17 Oct 00, Corinna Vinschen writes:
> David,
> 
> do you think the below description could become part of the FAQs?

I had been of the opinion that *all* package-specific documentation
(whether setup/usage instructions or "FAQs"), should go in the
respective README file under /usr/doc.

However, I now realise this is a silly position to take, and I'll start
adding information about problems like this to the FAQ.  I'll probably
create a whole new section about logging in.

If nobody objects, that is.

Cheers,
David

> Corinna
> 
> Colin Fine wrote:
> > It didn't occur to me that it might not get this information out
> > of Windows. Presumably /etc/passwd is created from the local user
> > list when you install cygwin. My username is not local to the
> > machine at all (it is a network id), so did not get put into
> > passwd, and similarly when Stephen created an additional user he
> > did not add it to /etc/passwd.
> > 
> > I think that is a gotcha, that ought to be mentioned somewhere!
> >
> > > id doesn't use a Windows call but only Cygwin POSIX calls. As a result
> > > it needs correct settings in /etc/passwd.
> > >
> > > On your collegues machine:
> > > Did you insert the "test" user into /etc/passwd?
> > >
> > > On your machine:
> > > If you dual boot your machine with the same /etc directory you will have
> > > another problem _if_ you are using ntsec. Both OS'es have different SIDs
> > > and the same user will have different SIDs on different OSes. You will
> > > have to either provide different /etc/passwd files or to change your
> > > systems SID on one of the OSes so that it's equal to the SID of the
> > > other system. You can for example use the NewSID tool on
> > > www.sysinternals.com with a slight change (Fixed SID instead of random
> > > SID).
> > >
> > > Corinna


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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