Unix Process

Hi,

I'm running weblogic 11g on Linux platform. My requirement is to have weblogic instances running and it is controlled by Nodemanager. In the sense, when ever the weblogic instance goes down, Node manager should start it.

The set up requires to have weblogic running as user X, and Node manager running as User Y.

The problem im facing is, when ever i start weblogic instances through node manager, it starts as Y (with which Node Manager is running) not as X.

Is there a way in Unix to avoid this? Please help..

Most people use tools such as "sudo" which can be downloaded or compiled from source for most UNIX/Linux platforms.

I hope this helps

You should set the binary to be SUID to the user you wish it to run as. Alternately have your script run an su -c <user>