diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm index 33c47c3..e61fa6a 100644 --- a/src/PVE/CLIHandler.pm +++ b/src/PVE/CLIHandler.pm @@ -506,10 +506,6 @@ sub run_cli_handler { initlog($exename); - if ($class !~ m/^PVE::Service::/) { - die "please run as root\n" if $> != 0; - } - no strict 'refs'; my $def = ${"${class}::cmddef"};