freebsd-ports/sysutils/dsbbatmon/pkg-message
2019-08-14 12:16:12 +00:00

21 lines
577 B
Plaintext

[
{ 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
}
]