one thing on recent systems is that the name resolution libraries are loaded dynamically, even if you compile a 'static' binary. If those libraries are not available as separate files, in the expected location, name resolution fails.
Posted Nov 3, 2010 14:58 UTC (Wed) by nix (subscriber, #2304)
[Link]
In this case, 'recent' is 'more recent than glibc 2.2'. I haven't seen a glibc 2.2 system for many years. Essentially all current Linux systems work this way. (Usernames as well as hostnames: everything that uses NSS.)
suid-binary vulnerabilities
Posted Nov 3, 2010 23:29 UTC (Wed) by cesarb (subscriber, #6266)
[Link]
Does it still happen if you use nscd? Or does it simply open the socket to nscd and lets it load the NSS stuff?
suid-binary vulnerabilities
Posted Nov 4, 2010 0:18 UTC (Thu) by foom (subscriber, #14868)
[Link]
Depends on the function. Not all NSS functionality goes through nscd even when it's enabled. I forget the details of which do and which don't, though.