GNU bug report logs - #9732
bug or feature?

Previous Next

Package: coreutils;

Reported by: Shevtsov Anton Yurevich <shevtsov <at> kitlinkor.ru>

Date: Wed, 12 Oct 2011 04:25:01 UTC

Severity: normal

Tags: moreinfo, notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Shevtsov Anton Yurevich <shevtsov <at> kitlinkor.ru>
To: bug-coreutils <at> gnu.org
Subject: bug or feature?
Date: Wed, 12 Oct 2011 10:18:21 +0600
Hi,

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

[shev_ay <at> pandora 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
[shev_ay <at> pandora Admins]$ id -a Shev_ay
uid=1062(shev_ay) gid=513(DomainUsers) groups=513(DomainUsers)

and last, if first letter in uppercase and space at end
[shev_ay <at> pandora Admins]$ id -a 'shev_ay '
uid=1062(shev_ay) gid=513(DomainUsers)
groups=513(DomainUsers),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)


cat /etc/nsswitch.conf
passwd:     files ldap
shadow:     files ldap
group:      files ldap

p.s into ldap all fields is lowercase

-- 
Anton Shevtsov





This bug report was last modified 13 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.