If you know what user account it needs to be run as, or have a special user for running it:
/etc/rc.local ->
su username -c /path/program args
You can also use su to use a specific login class with su's -c switch, e.g.
su -c loginclass username -c /path/prog args
every thing after username is passed to the shell, the man page is useful.
__________________
My Journal
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
|