You are not logged in.
How can I as a user run commands upon system boot? In Vixie's cron, one can use the @reboot syntax in a crontab, and the job is ran every time the cron daemon starts. Arch however, uses Dillon's cron which seems not support this feature.
Offline
How about su -c <COMMAND> <USER> in /etc/rc.local?
Offline
How about su -c <COMMAND> <USER> in /etc/rc.local?
I would prefer if root was not required.
Offline
Hmm, does not work, because root owns init, so everything requires root. stb's version is valid, the -s parameter drops privileges to <USER>, spawns a shell and executes <COMMAND>. So, no security problem whatsoever.
Offline
Hmm, does not work, because root owns init, so everything requires root. stb's version is valid, the -s parameter drops privileges to <USER>, spawns a shell and executes <COMMAND>. So, no security problem whatsoever.
So there is nothing like @reboot in vixiecron?
Offline