Operator User Show and Reset VPN

Is there a way to allow an operator user to show the status of IPSec VPN tunnels and then to reset them if they are down?

When I try either the show or the reset I get an error:
“no tty present and no askpass program specified”

you may use sudo , listing in the sudoers file only the command the user need.

Also there’s a script in the how to section that check ipsec status and automatically reset them :

http://forum.vyos.net/showthread.php?tid=6371

Thanks for the response, should have mentioned that I am attempting to use the GUI so that it is easier for my support people.