Run script on boot, as ordinary user

Chris Cowart ccowart at rescomp.berkeley.edu
Thu May 7 18:23:21 UTC 2009


Nerius Landys wrote:
> So there's cron.  Is there anything that lets an ordinary user start
> his/her programs at bootup of the system?  And then run a script when
> the system is shutting down?  I'm familiar with /etc/rc.d/, but that's
> not really what I'm looking for.  I gave my friends access to my
> FreeBSD server and I want to let them start for example Apache and/or
> MySQL on higher ports running as their own user.

Each user could create an entry in their crontab using the @reboot
keyword.

-- 
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT
UC Berkeley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090507/3f419362/attachment.pgp


More information about the freebsd-questions mailing list