Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 20 Apr 2001 16:00:57 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ntsec with W2K workgroup
Message-ID: <20010420160057.E15499@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <3ADC4968.5090502@netscape.net> <20010417163411.G12559@cygbert.vinschen.de> <3AE03A26.4070404@netscape.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3AE03A26.4070404@netscape.net>; from venkateshbr@netscape.net on Fri, Apr 20, 2001 at 07:01:18PM +0530

On Fri, Apr 20, 2001 at 07:01:18PM +0530, venkatesh wrote:
> Hi
> Actually I have used setup.exe to install cygwin. In the /bin directory
> all the files don't have any permission bit set when I use ntsec. And
> the files have owner/group as administ/None. Without ntsec the files
> owner/group are venkates/Power Us.

So you have changed your /etc/passwd already. If not, it would
have been venkates/None.

> Most of the files I could execute in that directory but some
> applications such as man complain about troff not found etc. When i
> remove ntsec I don't have any problem. Should I set ntsec env variable
> before using setup.exe. 

That doesn't have any effect. setup.exe is not a Cygwin application.

>  In my /etc/passwd and etc/group entries have 
> None as group for all users. I tried changing them (like 547)also.

That's ok. None is the primary group setting on workstations and
servers outside of a domain. It's not changable in NT, except by
entering a domain! The well known local groups like `Users'
`Power Users', `Administrators' are only usable as suplementary
groups. Cygwin manages to use the settings in /etc/passwd as
if another group is your primary group when ntsec is on but
as soon as you create a file using a non-Cygwin application you
will see that it has group `None' again.

I suggest reading the ntsec chapter in the online user guide:
http://cygwin.com/cygwin-ug-net/ntsec.html

Corinna

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

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

