minimize use of root account

Ardie H. Hwang iam at ardiefox.me
Fri Feb 19 05:32:51 UTC 2016


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 at ardiefox.me
mobile: +82 10-I-AM-ARDIE (+82 10-4-26-27343)


More information about the freebsd-questions mailing list