delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/24/09:04:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 24 Jun 2002 15:03:55 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: problems with current cvs release
Message-ID: <20020624150355.F22705@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020624140304 DOT D22705 AT cygbert DOT vinschen DOT de> <008c01c21b7d$533e77e0$651c440a AT BRAMSCHE>
Mime-Version: 1.0
In-Reply-To: <008c01c21b7d$533e77e0$651c440a@BRAMSCHE>
User-Agent: Mutt/1.3.22.1i

On Mon, Jun 24, 2002 at 02:47:40PM +0200, Ralf Habacker wrote:
> > Ok, I found the following in the strace:
> >
> >   178  134631 [main] bzip2 948 alloc_sd: no /etc/passwd entry for 1002
> >
> > 1002 is the uid.  Is that true?  Could you add an /etc/passwd entry?
> 
> Yes, than bzip works, but I'm wondering because the users are in the same group

Huh?  What has the group to do with the uid?

Ntsec needs passwd entries for users and especially the SID in this
file to operate correctly.  Your below passwd files are not very
useful for ntsec.  Why are the SIDs missing?  Are you actually
working under the administrators account?  Did you rename it on
your system or did you only rename it in /etc/passwd?  If so, the entry
should better look like this:

habacker::500:513:U-administrator,S-1-5-21-X-Y-Z-500:/home/habacker:/bin/bash

Did you read http://cygwin.com/cygwin-ug-net/ntsec.html ?

> services:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1000:513:CYGWIN
> Dienste:/home/services:/bin/bash
> auser::1002:513::/home/auser:/bin/bash
> habacker::500:513::/home/habacker:/bin/bash
> SYSTEM:*:18:18:,S-1-5-18::
> Jeder:*:0:0:,S-1-1-0::
> Administratoren:*:544:544:,S-1-5-32-544::
> 
> That means, that for operations on files, an entry for any possible user must be
> added, regardless of the group. Is this true ?

When using ntsec, yes.  This should have been the case already with
earlier releases of Cygwin.  In 1.3.11 it just got stricter.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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