Re: start up script
On Wed, 2 Mar 2011 12:18:45 -0800 (PST)
rvaede <rvaedex23@xxxxxxxxx> wrote:
I have set up a script in /etc/rc2.d to start up on reboot.
The script needs to run on reboot using ID: abcdef.
I placed an su - abcdef on top of the script and it didn't work.
I tried the script manually running the script using root and my
ID swithed from root to abcdef and the script never ran.
Any hints please.
regards
Roger
Try using sudo.
.
Relevant Pages
- Re: Auto Start Sybase script not working
... However I'm unable to write a working script to start the ... server upon each reboot. ... When I'm logged in as root and execute the script it all works well ... but the server isn't running when I do 'showserver'. ... (alt.os.linux) - Re: Auto Start Sybase script not working
... However I'm unable to write a working script to start the ... server upon each reboot. ... When I'm logged in as root and execute the script it all works well ... but the server isn't running when I do 'showserver'. ... (alt.os.linux) - Re: script to mail@localhost when system reboots
... I have to create a script which sends a mail everyttime the system ... I'd prefer firing off a mail from rc.local *after* reboot, ... Presuming you did thought about setting up an alias for root to ... (comp.os.linux.misc) - script help
... I have set up a script in /etc/rc2.d to start up on reboot. ... I placed an su - abcdef on top of the script and it didn't work. ... ID swithed from root to abcdef and the script never ran. ... (alt.os.linux) - start up script
... I have set up a script in /etc/rc2.d to start up on reboot. ... I placed an su - abcdef on top of the script and it didn't work. ... ID swithed from root to abcdef and the script never ran. ... (comp.unix.shell) |
|