ssh works only as root

Mate Wierdl mw at moni.msci.memphis.edu
Tue Mar 14 06:54:24 EST 2000


On my solaris 2.6 box, I get 

ssh moni
ld.so.1: ssh: fatal: libz.so: open failed: No such file or directory
Killed

while as root, I have no problem.  Note that 

echo $LD_LIBRARY_PATH
/space/local/lib:/usr/local/lib:/usr/openwin/lib:/usr/lib:/opt/x11r5/lib

ls -l /space/local/lib/libz.*
-rwxr-xr-x   1 wierdlm  faculty    70488 Mar 10 17:26 /space/local/lib/libz.a
-rwxr-xr-x   1 bin      bin        85600 Mar 10 17:26 /space/local/lib/libz.so
-rwxr-xr-x   1 bin      bin        85600 Mar 10 17:26 /space/local/lib/libz.so.1
-rwxr-xr-x   1 bin      bin        85600 Mar 10 17:26 /space/local/lib/libz.so.1.1.3

Also, when I run ssh as root as

truss -e -o truss.out ssh moni

I get 

grep libz truss.out           
open("/space/local/lib/libz.so", O_RDONLY)      = 4

I do not know how to trace ssh when as nonroot though.  I get

truss -e -o truss.out ssh moni
ld.so.1: ssh: fatal: libz.so: open failed: No such file or directory
truss: cannot trace set-id or unreadable object file: /space/local/bin/ssh

Any ideas?

Thx

Mate





More information about the openssh-unix-dev mailing list