Re: Very general shutdown question

From: Anthony Philipp (philipp1_at_lupin.angrypanda.net)
Date: 02/07/05

  • Next message: David Gerard: "Re: favor"
    Date: Mon, 7 Feb 2005 10:31:54 -0600
    To: freebsd-questions@freebsd.org, rasputnik@hellooperator.net
    
    

    > Date: Mon, 7 Feb 2005 11:49:22 +0000
    > From: Dick Davies <rasputnik@hellooperator.net>
    > Subject: Re: Very general shutdown question
    > To: FreeBSD Questions <freebsd-questions@freebsd.org>
    > Message-ID: <20050207114922.GJ473@eris.tenfour>
    > Content-Type: text/plain; charset=us-ascii
    >
    > * Steven <freebsd@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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: David Gerard: "Re: favor"

    Relevant Pages

    • Re: Very general shutdown question
      ... > you can add the user to the operator group. ... > shutdown then. ... '...and then we wrote scripts to write the configs for us, ... -- A Gentle Introduction to Cricket, on MRTG configuration ...
      (freebsd-questions)
    • Re: Very general shutdown question
      ... you can add the user to the operator group. ... shutdown then. ... >and house guests the chance to play on a non-Microsoft system. ... >one may not want an ordinary user to be able to shutdown the machine. ...
      (freebsd-questions)
    • Re: Adding more tools to be used by operator group members
      ... O> shutdown (and its child: poweroff, halt, etc?) and mksnap_ffs. ... O> On my HAL-less laptop, I've put my user in the operator group that let ...
      (freebsd-current)
    • what is operator group for?
      ... I sent this once already but didn't see it come back, sorry if it has appeared twice. ... executable by members and various things in /dev/ are mountable by them. ... I want a regular user to be able to mount removeable media and shutdown the computer. ... If I make them a member of operator group what else am I ...
      (freebsd-questions)
    • Re: Giving shutdown rights to somebody
      ... ]but it is not my decision to take the machines down on weekend. ... Unfortunately the command is to power off all machines at ... Why do you not just write a cron to run the shutdown script at say 6PM ... Use either shutdown -h or halt to do so. ...
      (comp.os.linux.security)