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=quyCN dVenUpOC5/RZyWrszCi+Mv+XWgbEfcbHcSdVgLp2AqDQDGb/92OwnsFmUKMTJeIW chDQW0MrwD5XfeqYVYFUEPDB7c5SBS82NrBeU5KkY/zwZ4NsRrnPT4ur3ATXRk9z fwZlvRySZNYFq7u7xuX7H3ElegwbkMzpc9hHvU= 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=C+9FofIz4be nvURrKA1VexzxWIA=; b=Evw44WiNTKDtNvnl7UNDxDvCSzN9kobiq/wogEhBGHC s7YAP+eyi6hlDbcZITS53mMg/r9YEIsw4mFBWzC6Poe4cqPqUTTR9bLy+o/efwmz Y5nTteZy5AA1LtR07kGSVy97hfdTWqKYHqlM9Jgr6Bpc05UxmzMOuMrvmw+uA9Xc = 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=-5.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-in-02.arcor-online.net X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-02.arcor-online.net E5C9F30237 From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: [PATCH] base-files-4.2-1: Change prompt if running with admin rights References: <53458036 DOT 1010307 AT t-online DOT de> <877g6ys69r DOT fsf AT Rainer DOT invalid> <5345C0C0 DOT 5010908 AT t-online DOT de> <20140410081130 DOT GW2437 AT calimero DOT vinschen DOT de> Date: Thu, 10 Apr 2014 17:35:49 +0200 In-Reply-To: <20140410081130.GW2437@calimero.vinschen.de> (Corinna Vinschen's message of "Thu, 10 Apr 2014 10:11:30 +0200") Message-ID: <87ha61b3je.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Corinna Vinschen writes: > But even without /etc/group, the administrator's group will have the > gid 544. I think such a test should be sufficient? That's what I've been using for quite some time and I guess that's the right thing to check for. 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