Corinna Vinschen writes:
>> 2. Parse the output of groups or id -G.  I can't find any reliable way to do
>> this.  For example on my host, when I start a shell with "Run as 
>> administrator",
>> the new group I get isn't 544 (Administrators).  It's 114 (Local account and
>> member of Administrators group).  Is that at all portable or reliable?
>
> Huh?  There is no such group in Windows.  Where does it come from?

Yes there is, at least on Windows 8.1N Core and Server 2012R2.  In fact
there are two new SID:

113 (Local account)
114 (Local account and member in Administrators group)

http://blogs.technet.com/b/secguide/archive/2014/09/02/blocking-remote-use-of-local-accounts.aspx
https://msdn.microsoft.com/en-us/library/cc980032.aspx


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
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

Reply via email to