Mail Archives: cygwin/2007/01/26/09:07:04
On Fri, 26 Jan 2007, Marco Atzeri wrote:
> --- Corinna Vinschen <corinna-cygwin AT XXXXXX DOT 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 AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT 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/
- Raw text -