From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 16:32:15 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 D091216A4CE for ; Mon, 7 Feb 2005 16:32:15 +0000 (GMT) Received: from lupin.angrypanda.net (adsl-69-214-226-242.dsl.chmpil.ameritech.net [69.214.226.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51B3443D3F for ; Mon, 7 Feb 2005 16:32:15 +0000 (GMT) (envelope-from philipp1@angrypanda.net) Received: by lupin.angrypanda.net (Postfix, from userid 1001) id B326528422; Mon, 7 Feb 2005 10:31:54 -0600 (CST) Date: Mon, 7 Feb 2005 10:31:54 -0600 From: Anthony Philipp To: freebsd-questions@freebsd.org, rasputnik@hellooperator.net Message-ID: <20050207163154.GA93756@lupin.angrypanda.net> References: <20050207120100.15C3616A52D@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050207120100.15C3616A52D@hub.freebsd.org> User-Agent: Mutt/1.4.2.1i 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 16:32:15 -0000 > Date: Mon, 7 Feb 2005 11:49:22 +0000 > From: Dick Davies > Subject: Re: Very general shutdown question > To: FreeBSD Questions > Message-ID: <20050207114922.GJ473@eris.tenfour> > Content-Type: text/plain; charset=us-ascii > > * Steven [0203 23:03]: > > Hello Ned, > > > > you can add the user to the operator group. it is possible to run > > shutdown then (but not halt etc). > > Be caneful of that, I think operator has other privileges too > (can read from any disk for starters). Can't you just install sudo and give them permission to sudo shutdown. If it needs to be scripted you can do it so it doesn't ask for a password. > > > > You could also create a shutdown user with a login shell pointing to a > > shutdown script. > > But that won't work if they still don't have permission to run it... Hopefully this would allow them to shutdown. Anthony Philipp