delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/06/06:07:55

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 6 Mar 2002 12:07:16 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: 1.3.10 and setgid
Message-ID: <20020306120716.W13590@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0202281320230 DOT 1553-100000 AT domino DOT informatik DOT uni-kl DOT de> <3C7E3033 DOT B8599DA7 AT lapo DOT it> <20020228164244 DOT A25136 AT cygbert DOT vinschen DOT de> <3C7E6863 DOT E4D18A6E AT lapo DOT it> <20020301114411 DOT R13590 AT cygbert DOT vinschen DOT de> <40477373777 DOT 20020302011521 AT familiehaase DOT de> <20020306100503 DOT O13590 AT cygbert DOT vinschen DOT de> <3C85F4A6 DOT 2B148551 AT lapo DOT it>
Mime-Version: 1.0
In-Reply-To: <3C85F4A6.2B148551@lapo.it>
User-Agent: Mutt/1.3.22.1i

On Wed, Mar 06, 2002 at 11:51:18AM +0100, Lapo Luchini wrote:
> > Is that NT4 server a DC?  If so, try if `mkgroup -d' returns
> > the "Domaenenbenutzer" ("Domain Users") group.
> >
> > I just tried `mkgroup -l' on a german NT4 Wkst and I got the group 513:
> 
> I get group "Domain Users - 10513" in "mkgroup -d" but no group 513 in "mkgroup
> -l"...
> (yes, my PC is a 2k PDC, and activetree is active (but I think I'll remove it
> soon as I never used it other that with a simple workgroup))
> 
> $ mkgroup -l
> Everyone:S-1-1-0:0:
> SYSTEM:S-1-5-18:18:
> Administrators:S-1-5-32-544:544:
> Users:S-1-5-32-545:545:
> Guests:S-1-5-32-546:546:
> Backup Operators:S-1-5-32-551:551:
> Replicator:S-1-5-32-552:552:
> Server Operators:S-1-5-32-549:549:
> Account Operators:S-1-5-32-548:548:
> Print Operators:S-1-5-32-550:550:
> Accesso compatibile precedente a Windows 2000:S-1-5-32-554:554:
> Server RAS e IAS:S-1-5-21-1957994488-1303643608-1417001333-553:553:
> DnsAdmins:S-1-5-21-1957994488-1303643608-1417001333-1104:1104:
> 
> $ mkgroup -d
> Everyone:S-1-1-0:0:
> SYSTEM:S-1-5-18:18:
> ...
> Domain Users:S-1-5-21-1957994488-1303643608-1417001333-513:10513:
> ...

Ouch.  Ok, just set the gid to 513 in /etc/group or set your
primary group to 10513 in /etc/passwd and try again.

Did you ever read http://cygwin.com/cygwin-ug-net/ntsec.html ???
If you read it carefully, you'll see that you are free to change
/etc/passwd as well as /etc/group so that it fits your needs.

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