Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2009 11:23:21 -0700
From:      Chris Cowart <ccowart@rescomp.berkeley.edu>
To:        Nerius Landys <nlandys@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Run script on boot, as ordinary user
Message-ID:  <20090507182321.GB49013@hal.rescomp.berkeley.edu>
In-Reply-To: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com>
References:  <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--FkmkrVfFsRoUs1wW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

--=20
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT
UC Berkeley

--FkmkrVfFsRoUs1wW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iQIcBAEBAwAGBQJKAycZAAoJEIGh6j3cHUNP9skQAKOx9Er0T7dV23bcIn98zsE8
xgDsuxCpQ/uDpAMbZLOMSvK5q9lcKcdsizrO4Uq6B4ExNv+TBk8AmJoG/cnvM8X+
NDv9BTo5IG+sO8igJRJrDkiQr/c/CTVpF3LvKkp1IxSYWrqvbqmlry7V2vosS9zG
0xbSIPFUccwfE9yxAdXmaQEoHBvWXkkPpnrkSY8IqFjZEPirr3CAqIBsqezMZnFr
kCZwyG+eTNLNif9jkgFTjyKiFjSC26oaI5Usbl89qiN3O+FzdFeaN14jy7ZIutvF
2qnbTW4fdYNTskekamWkBBcxth79dTgk+hLo8q4Hf/8JPYWbt5S4DZZ8w6KTYQ1D
LiCkPP8Bkp2J8R6vIdLykydgX+5SXmuYaYBaqNJt6W/1QVyhMaes4Hw2nk6x6dWL
IXEActXNIMaA44AdGk6BQx2KH5jCjPOcsn4YcNTeVGv/LrJ4/mvIlTVE3pmOa1/G
N7/mwiZ9KUDcWhGIC3Ev0g/hO2f41eQvnI2IpahLT/chvev/K34Sg4vXBDvpdO3c
mNgLCvaS8u3jgYYymuSmM0/UuYF2GZFRvFa5wZFuOExhCYiJ+k+dlYNJy4aNo1we
69ZX2zy4Klv4Qg2GKbA1yYYjS5RMSbfHXjDhjdv3a9DCumBzvAwSlL1Ugvxh9B21
j06Hi2lg6HkjYdFs3Vt3
=OHzh
-----END PGP SIGNATURE-----

--FkmkrVfFsRoUs1wW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090507182321.GB49013>