Commit ab0486e5 authored by Mac Newbold's avatar Mac Newbold

Remove direct snmpit access for mere users.

parent 7f36d33d
......@@ -21,8 +21,9 @@ my $TB = "@prefix@";
%allowed = ( "nalloc" => "$TB/bin/nalloc",
"nfree" => "$TB/bin/nfree",
"node_reboot" => "$TB/bin/node_reboot",
"os_load" => "$TB/bin/os_load",
"snmpit" => "$TB/bin/snmpit");
"os_load" => "$TB/bin/os_load" # ,
#"snmpit" => "$TB/bin/snmpit"
);
# Need to provide a simple path, because some scripts we call need one
$ENV{PATH} = "$TB/bin:/bin:/usr/bin:/usr/local/bin";
......
......@@ -21,8 +21,9 @@ my $TB = "@prefix@";
%allowed = ( "nalloc" => "$TB/bin/nalloc",
"nfree" => "$TB/bin/nfree",
"node_reboot" => "$TB/bin/node_reboot",
"os_load" => "$TB/bin/os_load",
"snmpit" => "$TB/bin/snmpit");
"os_load" => "$TB/bin/os_load" # ,
#"snmpit" => "$TB/bin/snmpit"
);
# Need to provide a simple path, because some scripts we call need one
$ENV{PATH} = "$TB/bin:/bin:/usr/bin:/usr/local/bin";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment