Remote execution broken for Operator by fixing Bug 498

Hi

We had created an Operator user to run “show” commands from our monitoring server. But it seems that the fix for Bug 498 (http://bugzilla.vyos.net/show_bug.cgi?id=498) has completely blocked the ability for operator users to run remote commands.

So, does this need another bug reporting or is there a different way of having a user execute show commands from another server? We don’t want the user to have Admin privileges.

An example command that is being executed is:

$command = qq#/usr/bin/vtysh -c \'show ip bgp $ip\'#;

Thanks in advance for your help.

have you tried issuing the command via the regular VyOS cmdline? instead of using a quagga tool?
“show ip bgp $ip” should work directly from the operator VyOS cmdline
you can see what commands are available for an operator by logging in as the operator and typing show and tab a couple times to get options