All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

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@"; ...@@ -21,8 +21,9 @@ my $TB = "@prefix@";
%allowed = ( "nalloc" => "$TB/bin/nalloc", %allowed = ( "nalloc" => "$TB/bin/nalloc",
"nfree" => "$TB/bin/nfree", "nfree" => "$TB/bin/nfree",
"node_reboot" => "$TB/bin/node_reboot", "node_reboot" => "$TB/bin/node_reboot",
"os_load" => "$TB/bin/os_load", "os_load" => "$TB/bin/os_load" # ,
"snmpit" => "$TB/bin/snmpit"); #"snmpit" => "$TB/bin/snmpit"
);
# Need to provide a simple path, because some scripts we call need one # Need to provide a simple path, because some scripts we call need one
$ENV{PATH} = "$TB/bin:/bin:/usr/bin:/usr/local/bin"; $ENV{PATH} = "$TB/bin:/bin:/usr/bin:/usr/local/bin";
......
...@@ -21,8 +21,9 @@ my $TB = "@prefix@"; ...@@ -21,8 +21,9 @@ my $TB = "@prefix@";
%allowed = ( "nalloc" => "$TB/bin/nalloc", %allowed = ( "nalloc" => "$TB/bin/nalloc",
"nfree" => "$TB/bin/nfree", "nfree" => "$TB/bin/nfree",
"node_reboot" => "$TB/bin/node_reboot", "node_reboot" => "$TB/bin/node_reboot",
"os_load" => "$TB/bin/os_load", "os_load" => "$TB/bin/os_load" # ,
"snmpit" => "$TB/bin/snmpit"); #"snmpit" => "$TB/bin/snmpit"
);
# Need to provide a simple path, because some scripts we call need one # Need to provide a simple path, because some scripts we call need one
$ENV{PATH} = "$TB/bin:/bin:/usr/bin:/usr/local/bin"; $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