From owner-freebsd-questions@FreeBSD.ORG Thu May 7 18:23:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A12D210656BF for ; Thu, 7 May 2009 18:23:21 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: from hal.rescomp.berkeley.edu (hal.Rescomp.Berkeley.EDU [169.229.70.150]) by mx1.freebsd.org (Postfix) with ESMTP id 89A4B8FC0A for ; Thu, 7 May 2009 18:23:21 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: by hal.rescomp.berkeley.edu (Postfix, from userid 1225) id 5EE463C05E8; Thu, 7 May 2009 11:23:21 -0700 (PDT) Date: Thu, 7 May 2009 11:23:21 -0700 From: Chris Cowart To: Nerius Landys Message-ID: <20090507182321.GB49013@hal.rescomp.berkeley.edu> Mail-Followup-To: Nerius Landys , freebsd-questions@freebsd.org References: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline In-Reply-To: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> Organization: RSSP-IT, UC Berkeley User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Run script on boot, as ordinary user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 18:23:21 -0000 --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--