Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Run proc. as root from nonroot proc
Name: Stefan Date: September 5, 2003 at 07:56:51 Pacific OS: Solaris 8 CPU/Ram: Ultra 5 512Mb
Comment:
Hi! Heres the situation: From my non root java process I want to start /usr/lib/snmp/snmpdx as root. I have tried to do that by calling a script which starts that process. I tried the following commands on that script: chown root: and then chmod g+s but it still runs as non root user. Grateful for help.
Summary: Thanks for the response. I've another question. I was trying to connect to a remote system via ssh. When I run the script from my user account, ssh connects to remote system successfully. If I try run...
Summary: Hi, I am running an shell script(owner - name1) which calls an executable (owner -root)during run time.The permissions of exe are -r-x------ and it cannot be changed.Also it can be run only as root....
Summary: I cant make that user equal to root. We have to run this script file from an application , and tht application access the O/S with a specific user , which does not have the same privilege as root. ...