From owner-freebsd-questions@FreeBSD.ORG Thu May 7 18:30:04 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 682B0106566B for ; Thu, 7 May 2009 18:30:04 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 3B9A98FC12 for ; Thu, 7 May 2009 18:30:03 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 33C59EBC0A; Thu, 7 May 2009 14:30:03 -0400 (EDT) Date: Thu, 7 May 2009 14:29:59 -0400 From: Bill Moran To: Nerius Landys Message-Id: <20090507142959.0775bcb4.wmoran@potentialtech.com> In-Reply-To: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> References: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:30:04 -0000 In response to Nerius Landys : > 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. In addition to the other suggestions, there's also the jail system to give users limited root permissions. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/