bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9732: bug or feature?


From: Eric Blake
Subject: bug#9732: bug or feature?
Date: Wed, 12 Oct 2011 08:09:45 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.4 Thunderbird/3.1.15

tag 9732 needinfo
thanks

On 10/11/2011 10:18 PM, Shevtsov Anton Yurevich wrote:
Hi,

I found strange result for 'id' use.
If run id with lowercase login we getting this

address@hidden Admins]$ id -a shev_ay
uid=1062(shev_ay) gid=513(DomainUsers)
groups=513(DomainUsers),100(users),2005(vboxusers),2006(ossec),512(DomainAdmins),201(hpclj5550),203(xpe120i),1010(xpe120i2),1013(PetrelUsers),1019(AddressBook),1020(prjREGION),1039(GGX_users),1040(Project0),1041(ATSusers),1045(SharedRoster),1046(prjSAMOTLOR),1047(DIRECTUM_users),1048(unixadmins),1057(prjSAMOTLOR_GDM)

if first letter in uppercase, we get
address@hidden Admins]$ id -a Shev_ay
uid=1062(shev_ay) gid=513(DomainUsers) groups=513(DomainUsers)

Given the magic group 513 as DomainUsers, I can't help but wonder if this is on Windows, perhaps via the cygwin port. If so, your question is better asked to the place that ported id to your platform - cygwin may very well have a quirk in exposing window's case-insensitivity when it queries the user database.

--
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]