If you use sudo you can automatically re-start scripts that need to be run as root by adding a check at the beginning of the script and executing sudo if the script ...
i'm running debian unstable and i have wdm installed. when my user logins i would like to run a script from my home directory but unfortunately i can't figure out what to call it. from searching ...