Use protected mode to be able to execute root system commands

Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
This commit is contained in:
Emmanuel Kasper 2015-11-05 17:20:15 +01:00 committed by Dietmar Maurer
parent cdb5a20942
commit 6bbdf981d1

View File

@ -1137,6 +1137,7 @@ __PACKAGE__->register_method({
permissions => {
check => ['perm', '/nodes/{node}', [ 'Sys.Audit' ]],
},
protected => 1,
description => "Gather various systems information about a node",
proxyto => 'node',
parameters => {