Add instructions for enabling the web user to run shutdown

This commit is contained in:
Isaac Connor 2019-04-12 14:48:47 -04:00
parent c9d45b143c
commit 9421c0208d
1 changed files with 4 additions and 1 deletions

View File

@ -466,7 +466,10 @@ our @options = (
name => 'ZM_SYSTEM_SHUTDOWN',
default => 'true',
description => 'Allow Admin users to power off or restart the system from the ZoneMinder UI.',
help => 'The system will need to have a polkit file installed to enable the apache user
help => 'The system will need to have sudo installed and the following added to /etc/sudoers~~
~~
@ZM_WEB_USER@ ALL=NOPASSWD: /sbin/shutdown~~
~~
to perform the shutdown or reboot',
type => $types{boolean},
category => 'system',