This is the mail archive of the
cygwin
mailing list for the Cygwin project.
how to drop administrator privileges?
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Thu, 26 Apr 2012 22:33:55 +0200
- Subject: how to drop administrator privileges?
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 can't seem to find a way to drop administrator
privileges once I have a shell opened with "run as administrator". Is
there a command that will shed those rights for a sub-shell?
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple