Hi,
i'm using opensolaris 2008.05 updated to b96 and writing a little C program 
(with setuid) to exec a java jar.

the code in attach.

then i do:
gcc runner.c -o runner
pfexec chown root:root runner
pfexec chmod u+s runner

when execute runner, this error will be returned:
ld.so.1: java: fatal: libjli.so: open failed: No such file or directory

the truss output in attach-

the very strange behavior is that if i execute java -jar DD.jar in a shell, it 
works !!!!

for moderators: plz if i choose the wrong session plz move my post. TNX
--
This message posted from opensolaris.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: runner.c
Type: application/octet-stream
Size: 346 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20080908/d778baaf/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: truss
Type: application/octet-stream
Size: 2074 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20080908/d778baaf/attachment-0001.obj>

Reply via email to