Add instructions for enabling the web user to run shutdown
This commit is contained in:
parent
c9d45b143c
commit
9421c0208d
|
@ -466,7 +466,10 @@ our @options = (
|
||||||
name => 'ZM_SYSTEM_SHUTDOWN',
|
name => 'ZM_SYSTEM_SHUTDOWN',
|
||||||
default => 'true',
|
default => 'true',
|
||||||
description => 'Allow Admin users to power off or restart the system from the ZoneMinder UI.',
|
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',
|
to perform the shutdown or reboot',
|
||||||
type => $types{boolean},
|
type => $types{boolean},
|
||||||
category => 'system',
|
category => 'system',
|
||||||
|
|
Loading…
Reference in New Issue