From: Charles Wilson <cygwin@cwilson.fastmail.fm>
To: cygwin@cygwin.com
Subject: Re: how to drop administrator privileges?
Date: Thu, 26 Apr 2012 21:33:00 -0000 [thread overview]
Message-ID: <4F99BF0F.9050807@cwilson.fastmail.fm> (raw)
In-Reply-To: <878vhiz0zw.fsf@Rainer.invalid>
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 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?
The "cygdrop.exe" utility is part of the cygutils package.
--
Chuck
--
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
next prev parent reply other threads:[~2012-04-26 21:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-26 20:34 Achim Gratz
2012-04-26 21:33 ` Charles Wilson [this message]
2012-04-27 5:50 ` Achim Gratz
2012-04-27 7:35 ` Achim Gratz
2012-04-27 8:20 ` Corinna Vinschen
2012-04-27 14:43 ` Charles Wilson
2013-05-29 12:35 ` Achim Gratz
2013-05-31 2:51 ` Charles Wilson
2012-04-30 16:40 ` Christian Franke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F99BF0F.9050807@cwilson.fastmail.fm \
--to=cygwin@cwilson.fastmail.fm \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).