From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 01:24:14 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 3112016A4CE for ; Wed, 9 Feb 2005 01:24:14 +0000 (GMT) Received: from lakermmtao09.cox.net (lakermmtao09.cox.net [68.230.240.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id C46EA43D2F for ; Wed, 9 Feb 2005 01:24:08 +0000 (GMT) (envelope-from nedsmailbox2@cox.net) Received: from ip68-13-42-191.om.om.cox.net ([68.13.42.191]) by lakermmtao09.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP <20050209012406.JRQ10760.lakermmtao09.cox.net@ip68-13-42-191.om.om.cox.net> for ; Tue, 8 Feb 2005 20:24:06 -0500 From: Ned Harrison To: freebsd-questions@freebsd.org Date: Tue, 8 Feb 2005 19:28:49 +0000 User-Agent: KMail/1.7.2 References: <200502061646.27199.nedsmailbox2@cox.net> <200502062228.25075.mistry.7@osu.edu> In-Reply-To: <200502062228.25075.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502081928.50271.nedsmailbox2@cox.net> 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: Wed, 09 Feb 2005 01:24:14 -0000 On Monday 07 February 2005 03:28 am, you wrote: > 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. This sounds like what I want. I have WDM installed and I have KDE installed. I didn't realize that function was there. I've been using a terminal login ever sense I started using FreeBSD because that how I thought it was supposed to work! I'll try to step through the setup of KDM. I found a reference to the KDE display manager in the FreeBSD handbook. It might take a few days to figure things out. But this should work. Thanks,