opnsense-ports/sysutils/dsbbatmon/pkg-message
Franco Fichtner d6b2b718af */*: sync with upstream
Taken from: HardenedBSD
2019-01-14 07:21:56 +01:00

18 lines
686 B
Text

**************************************************************************
In order to be able to execute shutdown as regular user, you can either
use sudo(8) (see below), or you can add your username to the operator
group:
# pw groupmod operator -m yourusername
If you want to be able to suspend your system as regular user who is
member of the wheel group, you can use sudo(8). Add
%wheel ALL=(ALL) NOPASSWD: /usr/sbin/acpiconf *
to ${PREFIX}/etc/sudoers.
NOTE: On FreeBSD >= 12, members of the operator group are allowed to
suspend the system via acpiconf(8). Using sudo(8) is not necessary.
**************************************************************************