summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-07-22 18:38:28 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-07-22 18:38:28 -0700
commit1e4ed5abb3017d7baa1106bd41fbae716ba27249 (patch)
tree13b267c4921d16f10cd8938188968df7beb43803 /templates
parentcc1e3039f3fa0948074256bdd5dbcf81d8706e3a (diff)
downloadvyatta-op-vpn-1e4ed5abb3017d7baa1106bd41fbae716ba27249.tar.gz
vyatta-op-vpn-1e4ed5abb3017d7baa1106bd41fbae716ba27249.zip
Fix permission on call to ipsec.
Diffstat (limited to 'templates')
-rw-r--r--templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def b/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def
index de14bd7..2f7c8f3 100644
--- a/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def
+++ b/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def
@@ -1,3 +1,5 @@
help: Show detailed all active IPsec Security Associations (SA) for a specific connection
+
run: sudo /opt/vyatta/bin/sudo-users/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname detail --pval y --pname conn --pval "$7"
-allowed: ipsec auto --status | grep '000 "peer-' | perl -p -e 's/^000 "([^"]*)":\s.*/\1/' | sort -u
+
+allowed: sudo /usr/sbin/ipsec auto --status | grep '000 "peer-' | perl -p -e 's/^000 "([^"]*)":\s.*/\1/' | sort -u