Some time past I saw /usr/bin/id behaving odd or even segfault'ing while querying information about specific LDAP users. The issue occurred only for those user accounts, which were a second time member (in group map) of their default unix group (in passwd map).
On systems not being affected by that bug(?) /usr/bin/id should list the group membership twice. It's just a guess - I don't even remember which distribution I saw that issue, maybe an early RHEL4 release. -Rene Stephen John Smoogen wrote: > I am not sure exactly what has caused the change but bash is acting > differently after updating to 5.2 > > For a local user with local password (root, joeblow) the user is able > to login without any problems or errors. > For a user that gets authenticated via ldap I am now getting a series > of 'errors' and commands not working. > > -bash: [: =: unary operator expected > -bash: [: -le: unary operator expected > -bash: [: ==: unary operator expected > > the errors come when bash tries to run commands in /etc/profile and > /etc/profile.d/* with $() or `` as in > [ `/usr/bin/id -u`=0 ] and `/usr/bin/id -u` does not run. > > If I create a user locallly it runs ok. I looked in selinux logs to > see if it was being stopped for some reason (nope). turned off selinux > rebooted and still bash acted funny. > > the local user with /home/testluser works fine... but accounts not in > /home are not workign for some reason.. /nfs/home for example. > > Downgrading to bash-3.1.16 removed the issue. > > Is there something I missed obvious before I enter a bugzilla on this? > -- Rene Grabner Systems Engineer AMD Saxony LLC & Co. KG phone: (+49 351) 277-6838 Dresden Design Center fax: (+49 351) 277-96838 M/S I21-DC _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
