From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 02:18:22 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 0822716A4CE for ; Mon, 7 Feb 2005 02:18:22 +0000 (GMT) Received: from quark.cs.earlham.edu (cs.earlham.edu [159.28.230.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80B8E43D54 for ; Mon, 7 Feb 2005 02:18:21 +0000 (GMT) (envelope-from skylar@cs.earlham.edu) Received: from quark.cs.earlham.edu (localhost.cs.earlham.edu [127.0.0.1]) by quark.cs.earlham.edu (8.13.1/8.12.9) with ESMTP id j172IKVj018718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 6 Feb 2005 21:18:20 -0500 (EST) (envelope-from skylar@cs.earlham.edu) Received: (from skylar@localhost) by quark.cs.earlham.edu (8.13.1/8.12.9/Submit) id j172IKju018717 for freebsd-questions@freebsd.org; Sun, 6 Feb 2005 21:18:20 -0500 (EST) (envelope-from skylar@cs.earlham.edu) X-Authentication-Warning: quark.cs.earlham.edu: skylar set sender to skylar@quark.cs.earlham.edu using -f Date: Sun, 6 Feb 2005 21:18:20 -0500 From: Skylar Thompson To: freebsd-questions@freebsd.org Message-ID: <20050207021820.GA18575@quark.cs.earlham.edu> Mail-Followup-To: freebsd-questions@freebsd.org References: <200502061646.27199.nedsmailbox2@cox.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <200502061646.27199.nedsmailbox2@cox.net> User-Agent: Mutt/1.4.2.1i X-Sender: "Skylar Thompson" X-Accept-Primary-Language: en X-Accept-Secondary-Language: es SMTP-Mailing-Host: quark.cs.earlham.edu X-Operating-System: FreeBSD 4.11-STABLE X-Uptime: 9:17PM up 2 days, 14:33, 15 users, load averages: 0.24, 0.30, 0.24 X-Editor: VIM - Vi IMproved 6.3 (2004 June 7, compiled Aug 26 2004 10:37:04) Subject: Re: Very general shutdown question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Skylar Thompson List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 02:18:22 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 06, 2005 at 04:46:26PM +0000, Ned Harrison wrote: > I run FreeBSD 5.3 on my home PC in a stand alone machine as a desktop. = Is it=20 > possible to set it up so an ordinary user can shut the system? I've crea= ted=20 > a couple of accounts that are not in the wheel group so I can give friend= s=20 > and house guests the chance to play on a non-Microsoft system. I don't = want=20 > to give them root access just to shut it down. >=20 > None of the books which I have discuss using FreeBSD in this way. They a= re=20 > mostly geared to setting up networks running it for businesses. Areas wh= ere=20 > one may not want an ordinary user to be able to shutdown the machine. =20 > However, I prefer having the machine off when I'm not on it. If it's not= =20 > possible that fine I can continue working around it like I do now. sudo(8) is a nice general-purpose utility that gives mortal users superuser access to certain commands. There's a port of it in security/sudo. --=20 -- Skylar Thompson (skylar@cs.earlham.edu) -- http://www.cs.earlham.edu/~skylar/ --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCBs/ssc4yyULgN4YRAvFSAJ9mEe5YVwRYablQ2mHRQQZscLn4HwCgilKB c5nh5yhgaLji3wIXT7FVaTk= =wQLS -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--