Change PS1 when run as administrator

Andrey Repin anrdaemon@yandex.ru
Tue Mar 15 23:20:00 GMT 2016


Greetings, Warren Young!

> On Mar 15, 2016, at 2:17 PM, Achim Gratz <Stromeko@nexgo.de> wrote:
>> 
>> Andrey Repin writes:
>>>    test $group -eq 114 && { x="#"; break; }
>> 
>> Nope, that group membership isn't associated with real administrative
>> powers.

> Confirmed, at least on Win10 64-bit without any AD mucking things up.  That
> is, I get both 114 and 544 here, so I don’t need the 114 rule at all.

I vaguely recall there was an issue with Microsoft accounts vs. true local accs.
Either way, both indicate that you have local administrator privileges,
doesn't hurt to have both.
Thanks for color suggestion, I'll grab it, if you don't mind.


-- 
With best regards,
Andrey Repin
Wednesday, March 16, 2016 02:11:30

Sorry for my terrible english...


More information about the Cygwin mailing list