P
Phill Tadman
Hi everybody
Can I get a java application to execute with root effective user id when
run by a normal user under unix ?
I'm trying to use a third party c++ native API to access some fibre
channel disks.
I've created a c++ wrapper for this API, and can call into the wrapper
via JNI from my java application.
Given that the API would normally be called from an application that was
running with root effective user id eg:
% chown root application; chmod u+s application
% ls -l application
-rwsrwxr-x 1 root owner
I'm guessing that my java/jni combination will also need to run with
root euid to access the API correctly
Any ideas would be greatly appreciated
Phill Tadman
Can I get a java application to execute with root effective user id when
run by a normal user under unix ?
I'm trying to use a third party c++ native API to access some fibre
channel disks.
I've created a c++ wrapper for this API, and can call into the wrapper
via JNI from my java application.
Given that the API would normally be called from an application that was
running with root effective user id eg:
% chown root application; chmod u+s application
% ls -l application
-rwsrwxr-x 1 root owner
I'm guessing that my java/jni combination will also need to run with
root euid to access the API correctly
Any ideas would be greatly appreciated
Phill Tadman