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:mime-version:in-reply-to:references:from:date | |
:message-id:subject:to:content-type; q=dns; s=default; b=ZNvgMv9 | |
xUzLZcRM/gcgZyvfdO9SchfpGjKkBlgKa7j1X25+PFKw0JyBRZd1lyr9ZCqFAefP | |
isie+bepOxOYK3tJpH0aRC04JcVRfdm3/qssH0/mdFnYwjQydg1W7eVTPdgeb7HY | |
cUk94f4mWh7x+tuUmZ38AKSCZqXtyUdw7J7M= | |
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:mime-version:in-reply-to:references:from:date | |
:message-id:subject:to:content-type; s=default; bh=kxHI6iKjwWEva | |
KTiXzKdpdYLxhY=; b=A/F/ADsKosfhY6krNGASYrETzDW49qwkNY7AcJixRf0oo | |
rMUVhZCr0eeP8PdvY3tsKNlmBU4IUqQM5KMWkdxuBRFQsWyvLx/4ESRuKlduaoi+ | |
14WLtC9M3536cVBHOINl70aOwNcQagEePZy6koYVe9i6nKGoJwgrjpzSdFzwWY= | |
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.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | s87.webhostingserver.nl |
X-Received: | by 10.152.10.40 with SMTP id f8mr2570408lab.75.1402949019768; Mon, 16 Jun 2014 13:03:39 -0700 (PDT) |
MIME-Version: | 1.0 |
In-Reply-To: | <539F3EC5.6040403@breisch.org> |
References: | <1402944031 DOT 26368 DOT YahooMailNeo AT web172202 DOT mail DOT ir2 DOT yahoo DOT com> <539F3EC5 DOT 6040403 AT breisch DOT org> |
From: | Frank Fesevur <ffes AT users DOT sourceforge DOT net> |
Date: | Mon, 16 Jun 2014 22:03:09 +0200 |
Message-ID: | <CAKf2h5RHV6OgvJ+LWtzbOkR3S50R9g-5SUHmXn-oiQA7Z3=_ww@mail.gmail.com> |
Subject: | Re: Change PS1 when running as administrator |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
2014-06-16 21:00 GMT+02:00 Chris J. Breisch: > You might want to look at this thread: > https://sourceware.org/ml/cygwin/2014-04/msg00256.html Thanks for showing this threads. Missed it back then. > I use the registry test, but the id method would also work. I think the id command is a better way since it tells you that the user is member of the administrator group. That really tells you what you need to know. But the registry trick will work almost always, I sure :-) Regards, Frank -- 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 |