Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <39EC8229.21EEFDA1@cygnus.com> Date: Tue, 17 Oct 2000 18:45:29 +0200 From: Corinna Vinschen Reply-To: cygwin X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: David Starks-Browning CC: "'cygwin'" Subject: Re: FW: 'id' on NT/2000 References: <44632C76B97BD211AF6B00805FADCAB2027CAA08 AT exchange DOT saltaire DOT pace DOT co DOT uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit David, do you think the below description could become part of the FAQs? 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 > > > > -- > > Corinna Vinschen Please, send mails regarding Cygwin to > > Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com > > Red Hat, Inc. > > mailto:vinschen AT cygnus DOT com > > > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com