[Patch] Allow to disable root privileges with CYGWIN=noroot

Christian Franke Christian.Franke@t-online.de
Tue Oct 13 22:22:00 GMT 2009

Corinna Vinschen wrote:
> Patch checked in.


> Thanks for doing this.  Would you have fun to provide a tool for the
> net distro which uses this feature?

A first try is attached.

cygdrop command ... -- Drop admin group and most privileges and run command.
cygdrop -b command ... -- same, but keep SeBackupPrivilege (~ R/O admin :-)


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygdrop.cc
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20091013/eed3069b/attachment.cc>

More information about the Cygwin-patches mailing list