I want the client (and eventually server too) to startup on my monitored machines at bootup. Now I can get the process up and running through init.d as user root but not as hobbit. Whats the simplest way to do:
su hobbit
/usr/local/hobbit/client/runclient.sh -hostname=xxx
At machine boot?
Im new to this area of Linux so it's probably very simple and im missing something!
Craig
I use this in my init.d script:
su - hobbit -c "cd /home/hobbit/client; ./runclient.sh start"
Whilding, Craig wrote:
I want the client (and eventually server too) to startup on my monitored machines at bootup. Now I can get the process up and running through init.d as user root but not as hobbit. Whats the simplest way to do:
su hobbit
/usr/local/hobbit/client/runclient.sh –hostname=xxx
At machine boot?
Im new to this area of Linux so it’s probably very simple and im missing something!
Craig
-- Rich Smrcina VM Assist, Inc. Main: (262)392-2026 Cell: (414)491-6001 Ans Service: (360)715-2467 rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org WAVV 2006 - Chattanooga, TN - April 7-11, 2006
participants (2)
-
Craig_Whilding@mentor.com
-
rsmrcina@wi.rr.com