Re: how to drop administrator privileges?

2013-05-30 Thread Charles Wilson
On 5/29/2013 8:18 AM, Achim Gratz wrote: Sorry for this blast from the past, but cygutils have been updated a few times and I still get the same error... has the patch not been applied or is there something else that needs fixing? No, thanks for the reminder. I completely dropped the ball on th

Re: how to drop administrator privileges?

2013-05-29 Thread Achim Gratz
Charles Wilson cwilson.fastmail.fm> writes: > On 4/27/2012 4:20 AM, Corinna Vinschen wrote: > > Fixing cygdrop. > > Thanks for the patch; I'm pretty busy this weekend but I'll try to roll > out a new cygutils release Monday or so. Sorry for this blast from the past, but cygutils have been update

Re: how to drop administrator privileges?

2012-04-30 Thread Christian Franke
Corinna Vinschen wrote: Fixing cygdrop. $ net helpmsg 122 The data area passed to a system call is too small. A quick look into the sources shows that the maximum buffer size for the group list returned by GetTokenInformation is wrongly computed: max_groups = 100; char groups_buf[s

Re: how to drop administrator privileges?

2012-04-27 Thread Charles Wilson
On 4/27/2012 4:20 AM, Corinna Vinschen wrote: > Fixing cygdrop. Thanks for the patch; I'm pretty busy this weekend but I'll try to roll out a new cygutils release Monday or so. If anybody wants to investigate the following over the weekend: TODO (call for patches): ==

Re: how to drop administrator privileges?

2012-04-27 Thread Corinna Vinschen
On Apr 27 07:33, Achim Gratz wrote: > > Charles Wilson writes: > > > The "cygdrop.exe" utility is part of the cygutils package. > > (1001)~ # cygdrop -v ls > GetTokenInformation: error 122 > (1002)~ # cygdrop ls > GetTokenInformation: error 122 > (1003)~ # cygdrop > Usage: cygdrop [OPTIONS] COMMAN

Re: how to drop administrator privileges?

2012-04-27 Thread Achim Gratz
> Charles Wilson writes: > > The "cygdrop.exe" utility is part of the cygutils package. (1001)~ # cygdrop -v ls GetTokenInformation: error 122 (1002)~ # cygdrop ls GetTokenInformation: error 122 (1003)~ # cygdrop Usage: cygdrop [OPTIONS] COMMAND [ARG ...] Group options -lDisable local a

Re: how to drop administrator privileges?

2012-04-26 Thread Achim Gratz
Charles Wilson writes: > The "cygdrop.exe" utility is part of the cygutils package. Thank you. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- Proble

Re: how to drop administrator privileges?

2012-04-26 Thread Charles Wilson
On 4/26/2012 4:33 PM, Achim Gratz wrote: > > I've recently had a test fail because I started it with administrator > privileges (via the Administrator group). The test tried to write to a > file that it set read-only before and of course as an administrator it > was still able to write to it. So

how to drop administrator privileges?

2012-04-26 Thread Achim Gratz
I've recently had a test fail because I started it with administrator privileges (via the Administrator group). The test tried to write to a file that it set read-only before and of course as an administrator it was still able to write to it. So the test fail wasn't really that important, but I