opus
January 4th, 2005, 23:57
Trying to start quark2 at boot time. I made a script and stuck it in /usr/local/etc/rc.d but forgot it has to be run as a user and not root.
I cant seem to remember how to run a script as user.

cod3fr3ak
January 5th, 2005, 11:41
su - <username> script

molotov
January 6th, 2005, 18:46
Opus, combine your new cron info with cron's other abilitys. Put a cron entry in /var/cron/tabs/ as the user you want it to run Quark2 as, and have it run @reboot. Man crontab and man cron should point you there.
Note, Cod3fr3ak's way is probably a lot cleaner.

opus
January 6th, 2005, 19:18
Molotov,

I did what you suggested the other night, after learning of this from Strog.

Like your doggie! *;o)