Re: Problem with 2.2.3, setuid and shared libraries

Marcin 'Qrczak' Kowalczyk (qrczak@knm.org.pl)
Fri, 16 Apr 1999 17:44:21 +0200 (CEST)


Fri, 16 Apr 1999, p3 pisze:

> When I install the main binary under /usr/local/bin and setuid it to
> root some shared libraries didn't load. ldd could not see them. I set
> file attributes to 555 and all work ok, but when I reset to 4555
> shared libraries disapperar in the ldd dump.

Are they found by $LD_LIBRARY_PATH instead of /etc/ld.so.conf?
suid/sgid programs ignore $LD_*, for obvious reasons.

-- 
 __("<    Marcin Kowalczyk * qrczak@knm.org.pl http://kki.net.pl/qrczak/
 \__/       GCS/M d- s+:-- a22 C+++>+++$ UL++>++++$ P+++ L++>++++$ E->++
  ^^                W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP->+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/