The command "show version" throws an error when a user with operator level executed the command.
[email protected]> show version We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for srivi: Sorry, user srivi is not allowed to execute '/usr/libexec/vyos/op_mode/version.py' as root on vyos.
This script "/usr/libexec/vyos/op_mode/version.py" is called with root privileges in the files /opt/vyatta/share/vyatta-op/templates/show/version/, need to remove the parameter "sudo" in front of the script.