Skip site navigation (1)Skip section navigation (2)
Date:      07 Feb 2005 09:17:41 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Very general shutdown question
Message-ID:  <44k6pkwj22.fsf@be-well.ilk.org>
In-Reply-To: <200502062228.25075.mistry.7@osu.edu>
References:  <200502061646.27199.nedsmailbox2@cox.net> <200502062228.25075.mistry.7@osu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Anish Mistry <mistry.7@osu.edu> 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?).



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