X-Spam-Check-By: sourceware.org
Date: Fri, 26 Jan 2007 09:06:35 -0500 (EST)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Marco Atzeri <marco_atzeri@yahoo.it>
cc: cygwin@cygwin.com
Subject: Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2
In-Reply-To: <628535.80986.qm@web25010.mail.ukl.yahoo.com>
Message-ID: <Pine.GSO.4.63.0701260904140.745@access1.cims.nyu.edu>
References: <628535.80986.qm@web25010.mail.ukl.yahoo.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Fri, 26 Jan 2007, Marco Atzeri wrote:

> --- Corinna Vinschen <corinna-cygwin@XXXXXX.XXX> ha scritto:

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

> > Actually the SID S-1-5-32-545 is the Users group on
> > the local machine.
> > If you need the SID for the Domain Users group you
> > have to retrieve
> > it using `mkgroup -d -g "Domain Users"', which gives
> > you something
> > like this:
> >
> >   $ mkgroup -d -g 'Domain Users'
> >   Domain Users
> > :S-1-5-21-380728306-1056519143-2954708907-513:10513:
>
> a related question, there is in Cygwin a utility
> similar to psgetsid of Mark Russinovich ?
>
> http://www.microsoft.com/technet/sysinternals/utilities/psgetsid.mspx
>
> when we have tens of thousands of accounts in
> the domain mkgroup will be busy for long time, and
> usually we need a very limited subset of SID's

Did you take a look at the -g flag for mkgroup (and the related -u flag
for mkpasswd)?  It lets you select the specific groups you want in
/etc/group.  Of course, if you miss any, there'll be trouble, so it might
be best to just let mkgroup run overnight. :-)
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

