Hi Corinna, For a rainy day ... really ;-)
Although you think about mkpasswd/mkgroup as mere helper tools (in the "future" release of Cygwin), I would like to draw your attention to some pecularities in the output of these programs. Note: mkpasswd/mkgroup were extracted from the latest snapshot (x86/cygwin-inst-20141127.tar.xz) - mkpasswd -l: most (but not all) 'S-1-5-21-X-Y-Z accounts/SIDs' have a gecos field of THREE members (iso two members) - the original mkpasswd (test release) also has this pecularity - mkgroup -l: one 'S-1-5-21-X-Y-Z SID' (HelpLibraryUpdaters) is NOT 'translated' according to the rule: S-1-5-21-X-Y-Z-RID <=> uid/gid: 0x30000 + RID; the other one (None) is ... To me this output is inconsistent (and that why I am reporting this). To me this NOT a problem (anymore), because I have decided to use mkpasswd/mkgroup withOUT option (of which the output is correct). (of course, I may be wrong -- it is possible that I made a mistake somewhere -- it is possible that I am not correctly informed about matters. Sorry, in that case). Henri @@ uname -a # stand-alone machine CYGWIN_NT-6.1-WOW64 Seven 1.7.34(0.281/5/3) 2014-11-13 16:14 i686 Cygwin @@ mkpasswd # this output is CORRECT SYSTEM:*:18:18:U-NT AUTHORITY\SYSTEM,S-1-5-18:/home/SYSTEM:/bin/bash LOCAL SERVICE:*:19:19:,S-1-5-19:/:/sbin/nologin NETWORK SERVICE:*:20:20:,S-1-5-20:/:/sbin/nologin Administrators:*:544:544:,S-1-5-32-544:/:/sbin/nologin TrustedInstaller:*:328384:328384:,S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464:/:/sbin/nologin Administrator:*:197108:197121:U-Seven\Administrator,S-1-5-21-91509220-1575020443-2714799223-500:/home/Administrator:/bin/bash Guest:*:197109:197121:U-Seven\Guest,S-1-5-21-91509220-1575020443-2714799223-501:/home/Guest:/bin/bash Henri:*:197608:197121:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash ... Test:*:197614:197121:U-Seven\Test,S-1-5-21-91509220-1575020443-2714799223-1006:/home/Test:/bin/bash UpdatusUser:*:197609:197121:U-Seven\UpdatusUser,S-1-5-21-91509220-1575020443-2714799223-1001:/home/UpdatusUser:/bin/bash @@ mkpasswd -l # this output is inconsistent <==== SYSTEM:*:18:18:U-NT AUTHORITY\SYSTEM,S-1-5-18:/home/SYSTEM:/bin/bash LOCAL SERVICE:*:19:19:,S-1-5-19:/:/sbin/nologin NETWORK SERVICE:*:20:20:,S-1-5-20:/:/sbin/nologin Administrators:*:544:544:,S-1-5-32-544:/:/sbin/nologin TrustedInstaller:*:328384:328384:,S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464:/:/sbin/nologin Administrator:*:197108:197121:U-Seven\Administrator,S-1-5-21-91509220-1575020443-2714799223-500:/home/Administrator:/bin/bash Guest:*:197109:197121:U-Seven\Guest,S-1-5-21-91509220-1575020443-2714799223-501:/home/Guest:/bin/bash Henri:*:197608:197121:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash ... Test:*:197614:197121:Test,U-Seven\Test,S-1-5-21-91509220-1575020443-2714799223-1006:/home/Test:/bin/bash ^^^^ <==== gecos field has THREE members (iso two) UpdatusUser:*:197609:197121:UpdatusUser,U-Seven\UpdatusUser,S-1-5-21-91509220-1575020443-2714799223-1001:/home/UpdatusUser:/bin/bash ^^^^^^^^^^^ <==== ditto @@ mkgroup | tail -2 # this output is CORRECT HelpLibraryUpdaters:S-1-5-21-91509220-1575020443-2714799223-1007:197615: None:S-1-5-21-91509220-1575020443-2714799223-513:197121: @@ mkgroup -l | tail -2 # this output is inconsistent <==== HelpLibraryUpdaters:S-1-5-21-91509220-1575020443-2714799223-1007:4244636655: ^^^^^^^^^^ = 0xfd000000 + 1007 None:S-1-5-21-91509220-1575020443-2714799223-513:197121: ===== -- 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