This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: how to determine if a shell is running as Administrator?
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Thu, 05 Feb 2015 15:44:04 +0100
- Subject: Re: how to determine if a shell is running as Administrator?
- Authentication-results: sourceware.org; auth=none
- References: <slc6da9aq8g9e7h0aegafhfa86eahfd53p at 4ax dot com> <20150205100349 dot GS2635 at calimero dot vinschen dot de> <87siekhaz6 dot fsf at Rainer dot invalid> <20150205113926 dot GT2635 at calimero dot vinschen dot de> <8us6da1mc84clhtt2hgsliu2tor8mddcga at 4ax dot com>
Andrew Schulman writes:
> OK, I see. Yes, when I Run as administrator I have
>
> $ id -G
> 513 114 1007 1001 0 545 4 66049 11 15 113 4095 66048 262154 405504
>
> which includes 0.
Remove the /etc/group file or the line for the "root" group (or install
/etc/nsswitch.conf and tell it to ignore those files) and that should be
a thing of the past.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
--
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