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=OLu8f L7r5LMsFZMyaVWJLu8EGX4mHBN4OfNFZ6RulJxtiKw4w3evs9X3eFGWUie7fhjbp S2y0U6njUepLu7uhEsUou3BY6z16qjizPwcRvvwe5mif1iENrygADPkMuL9X3qRw sbaGd5J4wAZTAARKnyUpAcGdaN2CPnIVNyf8Og= 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=rxo/GuQC2/3 6PSY9JBuyDjnnc5Q=; b=IQxZU6kqUZERLRCr6ziCJUpepAMLpHzUavYmMAIMo4s AQwZuUFlb61rXmccrYaF/DVS0UmTgyuM7mf0O7Pc/KfFQ0g3Bo88Lvm4cHu4gsks 4gqXwQS4Scj0vJDUI+JUaNzBz8bGkJdfva6ydgipvxYivsk1NHAoEPPKHV513lNE = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-07.arcor-online.net X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net 3kdMrr5ttVz4nRl From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: how to determine if a shell is running as Administrator? References: <20150205100349 DOT GS2635 AT calimero DOT vinschen DOT de> <87fvakh1p6 DOT fsf AT Rainer DOT invalid> Date: Thu, 05 Feb 2015 15:41:16 +0100 In-Reply-To: <87fvakh1p6.fsf@Rainer.invalid> (Achim Gratz's message of "Thu, 05 Feb 2015 15:28:53 +0100") Message-ID: <87bnl8h14j.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Achim Gratz writes: > 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. BTW, just try 'cygdrop -l id' to remove that privilege. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: 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