www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:references:date:in-reply-to | |
:message-id:mime-version:content-type; q=dns; s=default; b=Nhq+L | |
zvXFrr3OG82MsBMj0Ig7cj73uXve+BhslgJT63XfG0RwfcGhkasOhPb1bFcCbZ6C | |
OUbiOlDhCLX4AA3QVlJOmKWkN/JdE+SLaLgfvzDP1JfTBXMxEsPuJkl27WcMQeYp | |
nmKQ0LuayMaRIqTKo5DDXvx3FvfN36ClaD1nOc= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:references:date:in-reply-to | |
:message-id:mime-version:content-type; s=default; bh=aCSzTwPb/N2 | |
GDiN+qEAXJSW83QA=; b=NgrJfyJqV1urmZMXue63Hni6mXopjIDVRCH9LV6nqAU | |
EDDRtax8+09Um2PqDIc0juzmy5ctjHovZlM/mgR3YWPqym7uSy0BEK4jSIn93ol2 | |
r3rRSo1RY3jR5CxSe5W9YZ5BRf99oWoQIdlnuerDOV55iEoyzq2EFTYX+JHliO0c | |
= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mail-in-11.arcor-online.net |
X-DKIM: | Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net 3kdMZY6GbLz4nRw |
From: | Achim Gratz <Stromeko AT nexgo DOT de> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: how to determine if a shell is running as Administrator? |
References: | <slc6da9aq8g9e7h0aegafhfa86eahfd53p AT 4ax DOT com> <20150205100349 DOT GS2635 AT calimero DOT vinschen DOT de> <gjubtwz05tno DOT fsf AT W0144758 DOT usac DOT mmm DOT com> |
Date: | Thu, 05 Feb 2015 15:28:53 +0100 |
In-Reply-To: | <gjubtwz05tno.fsf@W0144758.usac.mmm.com> (J. David Boyd's message of "Thu, 05 Feb 2015 09:18:03 -0500") |
Message-ID: | <87fvakh1p6.fsf@Rainer.invalid> |
User-Agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
MIME-Version: | 1.0 |
J. David Boyd writes: > This doesn't seem to tell me if my shell has been started with 'Run As > Administrator', it just tells me if my user is contained in the Administrator > group. No, you're not in that group unless you have actual administrator privileges. > I can start a cygwin shell, and start a cygwin shell with run as admin, and I > get the same results from the above command. Then you have UAC switched off or the place you're starting the cygwin shell from already is elevated. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |