delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/31/11:37:34

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
Message-ID: <39859C9C.10AAA90C@cygnus.com>
Date: Mon, 31 Jul 2000 17:34:52 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Jens Yllman <jens AT uniweb DOT se>
CC: GNUWin32 <cygwin AT sources DOT redhat DOT com>
Subject: Re: User with ID 544.
References: <39858EE2 DOT 5085D8AA AT uniweb DOT se>

Jens Yllman wrote:
> 
>  Hi,
> 
>  When I install cygwin and do ls -l on the /bin all the files have owner
> 544. And that user is not in passwd with id 544. And files created in
> winnt seem to get this owner in cygwin. What is that for kind of user.
> There don't seem to be any way in cygwin to set the owner to the user
> with id 544.

It's the local group `administrators'. This is a NT feature(?).
Each file created by a member of the admins group isn't owned
by the user but by the group.

>  What I also would like to know is how should I compile and install
> programs like wget/cvs if I would like them to be installed with the
> same owner as the rest of the files. Owner with id 544. I don't like the
> files to be me as owner. Even if everybody have access to them. Like
> them to be the same as the rest of the 'system' files.

Create an entry in /etc/passwd containing the local admins group, eg:

administrators::544:513:,S-1-5-32-544:/home/admin:/bin/false

on an English version of NT. You should use your localized
administrators group name, obviously.

Then you are able to chown to that `user'.

For more information about NT security I suggest reading the
NTSEC chapter in the online documentation.

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

- Raw text -


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