From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 14:17:42 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8F4516A4CE for ; Mon, 7 Feb 2005 14:17:42 +0000 (GMT) Received: from mail22.sea5.speakeasy.net (mail22.sea5.speakeasy.net [69.17.117.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 922FE43D55 for ; Mon, 7 Feb 2005 14:17:42 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 4058 invoked from network); 7 Feb 2005 14:17:42 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail22.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 7 Feb 2005 14:17:41 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 6BA6081; Mon, 7 Feb 2005 09:17:41 -0500 (EST) Sender: lowell@be-well.ilk.org To: freebsd-questions@freebsd.org References: <200502061646.27199.nedsmailbox2@cox.net> <200502062228.25075.mistry.7@osu.edu> From: Lowell Gilbert Date: 07 Feb 2005 09:17:41 -0500 In-Reply-To: <200502062228.25075.mistry.7@osu.edu> Message-ID: <44k6pkwj22.fsf@be-well.ilk.org> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Very general shutdown question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 14:17:42 -0000 Anish Mistry writes: > On Sunday 06 February 2005 11:46 am, Ned Harrison wrote: > > I run FreeBSD 5.3 on my home PC in a stand alone machine as a desktop. Is > > it possible to set it up so an ordinary user can shut the system? I've > > created a couple of accounts that are not in the wheel group so I can give > > friends and house guests the chance to play on a non-Microsoft system. I > > don't want to give them root access just to shut it down. > > > > None of the books which I have discuss using FreeBSD in this way. They are > > mostly geared to setting up networks running it for businesses. Areas > > where one may not want an ordinary user to be able to shutdown the machine. > > However, I prefer having the machine off when I'm not on it. If it's not > > possible that fine I can continue working around it like I do now. > > > The easiest way I've found to do this is assuming you have X installed and are > using a login manager ie. KDM/GDM/Login.app just use the shutdown > functionality of the login manager to shutdown the system. The most fool > proof way if you've got ACPI on this system it to just tap the power button > and it'll shutdown. For this case, where it sounds like the users will always be at the console, that last one has to be the easiest way to go. Or maybe setting a key combination to do the same (ctrl-alt-del, anyone?).