Unix/Linux Go Back    

Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Unix Process

Red Hat

Thread Tools Search this Thread Display Modes
Old Unix and Linux 08-12-2010
aprasad aprasad is offline
Registered User
Join Date: Aug 2010
Last Activity: 12 August 2010, 8:47 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Network Unix Process


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..
Sponsored Links
Old Unix and Linux 08-12-2010
citaylor's Unix or Linux Image
citaylor citaylor is offline
Registered User
Join Date: Jul 2010
Last Activity: 9 August 2011, 2:12 AM EDT
Location: Somerset, UK
Posts: 405
Thanks: 0
Thanked 72 Times in 70 Posts
Most people use tools such as "sudo" which can be downloaded or compiled from source for most UNIX/Linux platforms.

I hope this helps
Sponsored Links
Old Unix and Linux 08-12-2010
mark54g mark54g is offline Forum Advisor  
Registered User
Join Date: May 2008
Last Activity: 26 July 2013, 11:43 AM EDT
Location: Northeastern United States
Posts: 918
Thanks: 1
Thanked 61 Times in 58 Posts
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>
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell Script to Kill Process(number of process) Unix/Solaris jonnyvic Shell Programming and Scripting 2 12-03-2009 01:44 PM
UniX Process not getting logout. laknar Shell Programming and Scripting 3 01-23-2009 08:48 AM
Unix Process mishra.dd UNIX for Dummies Questions & Answers 4 08-29-2006 07:34 PM
How to get process name from process id in all Unix platforms? molu Programming 3 04-26-2006 12:41 AM
Unix Process S.P.Prasad Programming 3 01-22-2002 02:45 AM

All times are GMT -4. The time now is 06:49 PM.