[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9732: bug or feature?
From: |
Shevtsov Anton Yurevich |
Subject: |
bug#9732: bug or feature? |
Date: |
Wed, 12 Oct 2011 10:18:21 +0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 |
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)
and last, if first letter in uppercase and space at end
address@hidden 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
- bug#9732: bug or feature?,
Shevtsov Anton Yurevich <=