I wrote a program in Bash, and now I want to run it on startup for all users so that nobody can cancel it, except for root. How can I do it?
Maybe something like...
How to run a script with the root rights (so only the root can stop it) on startup ?
A) The Upstart /1/ can run scripts/programs with root rights during the boot.
B) You could use existing scripts to start your own script. The Ubuntu Resolution wiki /2/ has an example how to set xrandr commands in kdm/gdm startup scripts.
Earlier(Kubuntu Forums): "FAQ: Autostart / Autorun, Periodic run" /3/.