Re: Very general shutdown question

From: Steven (freebsd_at_gizm0.org)
Date: 02/07/05

  • Next message: David van Geyn: "Re: easy VPN config HOWTO?"
    Date: Mon, 07 Feb 2005 00:03:10 +0100
    To: Ned Harrison <nedsmailbox2@cox.net>
    
    

    Hello Ned,

    you can add the user to the operator group. it is possible to run
    shutdown then (but not halt etc).

    You could also create a shutdown user with a login shell pointing to a
    shutdown script.

    Kind regards

    Steven

    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.
    >
    >Thank you
    >Ned
    >_______________________________________________
    >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"
    >
    >

    _______________________________________________
    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 van Geyn: "Re: easy VPN config HOWTO?"

    Relevant Pages

    • Re: Very general shutdown question
      ... >> you can add the user to the operator group. ... Can't you just install sudo and give them permission to sudo shutdown. ... >> shutdown script. ...
      (freebsd-questions)
    • 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: 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: Very general shutdown question
      ... >> None of the books which I have discuss using FreeBSD in this way. ... >> Areas where one may not want an ordinary user to be able to shutdown the ... > functionality of the login manager to shutdown the system. ...
      (freebsd-questions)