opnsense-ports/sysutils/dsbbatmon/pkg-message
Franco Fichtner a309cd75a6 */*: sync with upstream
Taken from: HardenedBSD
2019-08-18 05:35:32 +02:00

20 lines
577 B
Text

[
{ type: install
message: <<EOM
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.
EOM
}
]