Very general shutdown question

Anthony Philipp philipp1 at lupin.angrypanda.net
Mon Feb 7 08:32:15 PST 2005


> Date: Mon, 7 Feb 2005 11:49:22 +0000
> From: Dick Davies <rasputnik at hellooperator.net>
> Subject: Re: Very general shutdown question
> To: FreeBSD Questions <freebsd-questions at freebsd.org>
> Message-ID: <20050207114922.GJ473 at eris.tenfour>
> Content-Type: text/plain; charset=us-ascii
> 
> * Steven <freebsd at gizm0.org> [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


More information about the freebsd-questions mailing list