Re: Possibly wrong Admin group ID in cygwin 1.7.34-003 (x64)

2015-01-04 Thread Achim Gratz
Ilya Dogolazky writes:
 But if I use the testing cygwin package 1.7.34-003 (available in the
 installer by clicking on cygwin package), then the group 544 doesn't
 appear anymore:

 Plain window: 197121 197610 545 4 66049 11 15 4095 66048 262154 401408
 Admin window: 197121 197610 0 545 4 66049 11 15 4095 66048 262154 405504

 Now I don't know if it's a bug, but some scripts assume that an admin
 shell can be identified by the number 544 in the output of id -G, so
 I'm sure something is very wrong here.

Remove the /etc/passwd and /etc/group files that have been created by
the postinstall scripts or create an /etc/nsswitch.conf file that does
not use the file database.


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



Possibly wrong Admin group ID in cygwin 1.7.34-003 (x64)

2014-12-30 Thread Ilya Dogolazky

Hello !

While trying to install and run SSH daemon in cygwin I found the 
following strange behavior of cygwin's ID command (I did all my testing 
on a Windows 8 system freshly installed on a virgin virtual machine from 
the DVD image en_windows_8_enterprise_x64_dvd_917522.iso downloaded from 
MSDN).


When I execute the command id -G first in a usual cygwin terminal 
window and then in a terminal window opened by right click - Run as 
administrator, the expected output is the same with the only 
difference: the admin output must have additional groups 0 and 544.


That is exactly the case if I use cygwin package 1.7.33-1:
Plain window: 197121 545 197610
Admin window: 197121 0 544 545 197610

But if I use the testing cygwin package 1.7.34-003 (available in the 
installer by clicking on cygwin package), then the group 544 doesn't 
appear anymore:


Plain window: 197121 197610 545 4 66049 11 15 4095 66048 262154 401408
Admin window: 197121 197610 0 545 4 66049 11 15 4095 66048 262154 405504

Now I don't know if it's a bug, but some scripts assume that an admin 
shell can be identified by the number 544 in the output of id -G, so 
I'm sure something is very wrong here.


Screenshots are available there:
http://picpaste.com/win8-cygwin-1.7.33-1.png
http://picpaste.com/win8-cygwin-1.7.34-003.png
In both cases the first terminal is the plain one and the second is 
the admin one. You have to click on the pictures in order to make the 
text readable.


Happy new year to everyone!

Ilya Dogolazky

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