Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2016 14:32:43 +0900
From:      "Ardie H. Hwang" <iam@ardiefox.me>
To:        freebsd-questions@freebsd.org
Subject:   Re: minimize use of root account
Message-ID:  <1455859963.3464449.525672506.6773F275@webmail.messagingengine.com>
In-Reply-To: <CACo--mv9qU2ZwtTuZRQBpioEr%2BenT=sd-SJ79BFumZt5aL18jg@mail.gmail.com>
References:  <CACo--mv9qU2ZwtTuZRQBpioEr%2BenT=sd-SJ79BFumZt5aL18jg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 19, 2016, at 14:29, Yudi V wrote:
> also when I have to shutdown/reboot, I need to run the command as root but
> instead would like for the normal user to be able to shutdown and reboot.

Adding a normal user to `operator` group allows the user to use `shutdown(1) command. `reboot(1)` is only for root, but it can be substituted with `shutdown -r now`.

-- 
Ardie H. Hwang
----------------
email: iam@ardiefox.me
mobile: +82 10-I-AM-ARDIE (+82 10-4-26-27343)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1455859963.3464449.525672506.6773F275>