On May 14 15:15, Henry S. Thompson wrote: > Corinna Vinschen writes: > > > Yes, I noticed the "s". But I missed to explain that I wasn't talking > > about the delay. What I can't reproduce is that `id Administrators' > > returns a result: > > > > $ id +Administrators > > uid=544(+Administrators) gid=544(+Administrators) > > groups=11(+Authenticated Users),544(+Administrators) > > > > but: > > > > $ id Administrators > > id: Administrators: no such user > > > > But now I understand why this occurs. It's the different handling of > > account names without domain prefix on standalone vs. domain machines. > > I applied a patch now which checks the incoming names for validity under > > the current naming rules, so, in theory, `id Administrators' should now > > return "no such user" for you as well. > > > I just created new snapshots on http://cygwin.com/snapshots/ > > Please give'em a try. > > Done, and now > > [x86_64 20140514]> id Administrators > id: Administrators: no such user > [x86_64 20140514]> +Administrators > uid=544(+Administrators) gid=544(+Administrators) groups=11(+Authenticated > Users),544(+Administrators) > > with no delay in either case. So _that's_ sorted. > > Overall, I now get the following clean pattern of id behaviour > wrt prefix '+': > > w/o w > + + > SYSTEM no yes > LocalService no yes > NetworkService no yes > Administrators no yes > TrustedInstaller no yes > Administrator yes no > cyg_server yes no > Guest yes no > ht yes no > postgres yes no > sshd yes no > > [you can reproduce this using > > cut -d ':' -f 1 /etc/passwd | while read u; do echo -n "$u "; if id $u > >/dev/null 2>/dev/null; then echo -n "yes "; else echo -n "no "; fi;if id > '+'$u >/dev/null 2>/dev/null; then echo "yes"; else echo "no"; fi done > ]
Thanks for testing. If you find any other problems or annoyances, please speak up. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpXbtd03wfRr.pgp
Description: PGP signature