Is a script, run at boot time from init.d, run with root authority?
I have a script that I want to run at boot time. This script needs to 'su' to a specific userid in order to start an application. If I run the script from a command line, (as root) it works. If it runs at boot time, it fails.
From what I can figure, the su command is failing.
Are scripts, run at boot time, run with root authority? If not, how do I get the su command to work at boot time.
Sorry ... I guess I should add that the Linux OS is Red Hat Enterprise Linux V4
Would having the script run from inittab make a difference?
Last edited by tmbrwolf53; 04-02-2007 at 08:16 AM.
|