delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/10/22/19:52:05

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Tue, 22 Oct 2002 19:53:49 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: Avoiding /etc/passwd and /etc/group scans
Message-ID: <20021022235349.GO6429@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <20021022191217 DOT GD4828 AT redhat DOT com> <3DB5AB53 DOT B434ED90 AT ieee DOT org> <20021022202004 DOT GA6995 AT redhat DOT com> <3DB5BA56 DOT A76B6463 AT ieee DOT org> <20021022211930 DOT GF6429 AT redhat DOT com> <1035321750 DOT 1455 DOT 14 DOT camel AT lifelesswks> <20021022213133 DOT GI6429 AT redhat DOT com> <1035322568 DOT 1949 DOT 20 DOT camel AT lifelesswks> <20021022214058 DOT GM6429 AT redhat DOT com> <1035322956 DOT 1447 DOT 22 DOT camel AT lifelesswks>
Mime-Version: 1.0
In-Reply-To: <1035322956.1447.22.camel@lifelesswks>
User-Agent: Mutt/1.5.1i

On Wed, Oct 23, 2002 at 07:42:35AM +1000, Robert Collins wrote:
>On Wed, 2002-10-23 at 07:40, Christopher Faylor wrote:
>> On Wed, Oct 23, 2002 at 07:36:08AM +1000, Robert Collins wrote:
>> >If we can depend on a correct /etc/passwd we should be able to do
>> >something. We will need to have a postinstall script for cygwin1.dll
>> >that sets the permissions on cygwin1.dll, mkpasswd and mkpgroup, and
>> >ensure that that script runs first, but that is all (off the top of my
>> >head - may be wrong :})
>> 
>> Sounds like a catch-22 to me.  How can we run anything except a .bat file
>> invoking windows utilities if cygwin1.dll or any other executable may not
>> actually be executable?
>
>Yep. Thus the .bat file to ensure that the mkpasswd and mkgroup commands
>and cygwin1.dll are executable.

One of us is missing something.  *How* would you ensure that mkpasswd and
mkgroup are executable?  What executable would you run?

cgf

- Raw text -


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