This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Group 544 no longer shows in output of /usr/bin/id when a shell is run as administrator


It used to be possible to test for the presence of 544 in the bash array GROUPS or the output of the /usr/bin/id program to determine when running as administrator.

Since updating to the latest version this no longer works.

E.g. while running as administrator:


$ echo ${GROUPS[@]}
197121 114 197610 0 559 545 4 66049 11 15 113 4095 66048 262154 405504


$ /usr/bin/id
uid=1001(xxx) gid=197121(None) groups=197121(None),114(Local account and member of Administrators group),197610(HomeUsers),0(root),559(Performance Log Users),545(Users),4(INTERACTIVE),66049(CONSOLE LOGON),11(Authenticated Users),15(This Organization),113(Local account),4095(CurrentSession),66048(LOCAL),262154(NTLM Authentication),405504(High Mandatory Level)

The version I am running is:
CYGWIN_NT-6.2 2.0.2(0.287/5/3) 2015-05-08 17:03 i686

on Windows 8 (not 8.1)

The bash.exe process does show as status Elevated "yes" in the task manager.

Has group 544 been replaced by 114 or has something gone wrong with my Windows configuration ?

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]