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=grkdk 6IZqwngZBW6DmAWetdailK4f+GIuegzqGSJGLr2sZ133OUPCG06F9f8zlhoO+gtu kWPW/qB2mrVxwlzSo243swbJHyADKX5JIyRNLMr5calBIxkI2tya7ePsP4MG+IUX b8vqVT35A39r0wbI+qUwpUmlyespq8x4GTeMDg= 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=jpDXsvMSR2c yxi7PROaMM9ocroI=; b=iKjEWS+9/AifTvquE+WJa3MWixCwxy112b/huxSy7nS CcZc2D/9bX10t49bgtbmobk2MCzLHni4PBBcDaqEWTJFWWZpwvKJF8DfvYlOZMAn xnfBiwx3QtLbF9SweJnboggKGfWJHW+lTTRN+y+GkLb4K52917PtEXq9ce59gM5c = 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_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=powers, $group, H*f:sk:2821084, H*i:sk:2821084 X-HELO: mail-in-14.arcor-online.net X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-05.arcor-online.net 3qPmBs0VgQz305b From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: Change PS1 when run as administrator References: <28210846 DOT 20160315202354 AT yandex DOT ru> Date: Tue, 15 Mar 2016 21:17:55 +0100 In-Reply-To: <28210846.20160315202354@yandex.ru> (Andrey Repin's message of "Tue, 15 Mar 2016 20:23:54 +0300") Message-ID: <87mvpz1ong.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Andrey Repin writes: > test $group -eq 114 && { x="#"; break; } Nope, that group membership isn't associated with real administrative powers. It just tells you that this is a local account that is normally in the Administrators group, but you are still in that group when you drop those privileges. 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