summaryrefslogtreecommitdiff
path: root/templates/show/vpn
diff options
context:
space:
mode:
authorMarat Nepomnyashy <marat@vyatta.com>2008-01-04 11:46:53 -0800
committerMarat Nepomnyashy <marat@vyatta.com>2008-01-04 11:46:53 -0800
commit94ccc5d8495aabd3abe20ebd2d18339337a47fd0 (patch)
treec246805f05e3ac28df958114575d4deed048f17c /templates/show/vpn
parentba9613a69c3fde8c875342f8976c0c7ac80b3b00 (diff)
downloadvyatta-op-vpn-94ccc5d8495aabd3abe20ebd2d18339337a47fd0.tar.gz
vyatta-op-vpn-94ccc5d8495aabd3abe20ebd2d18339337a47fd0.zip
Earlier forgot to add 'sudo' to the 'run' directives of the VPN operational command templates.
Diffstat (limited to 'templates/show/vpn')
-rw-r--r--templates/show/vpn/ike/sa/peer/node.tag/node.def2
-rw-r--r--templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def2
-rw-r--r--templates/show/vpn/ipsec/sa/detail/node.def2
-rw-r--r--templates/show/vpn/ipsec/sa/detail/peer/node.tag/node.def2
-rw-r--r--templates/show/vpn/ipsec/sa/nat-traversal/node.def2
-rw-r--r--templates/show/vpn/ipsec/sa/node.def2
-rw-r--r--templates/show/vpn/ipsec/sa/peer/node.tag/node.def2
-rw-r--r--templates/show/vpn/ipsec/sa/statistics/node.def2
-rw-r--r--templates/show/vpn/ipsec/status/node.def2
9 files changed, 9 insertions, 9 deletions
diff --git a/templates/show/vpn/ike/sa/peer/node.tag/node.def b/templates/show/vpn/ike/sa/peer/node.tag/node.def
index 86903bb..aa8d719 100644
--- a/templates/show/vpn/ike/sa/peer/node.tag/node.def
+++ b/templates/show/vpn/ike/sa/peer/node.tag/node.def
@@ -1,2 +1,2 @@
help: Show all currently active IKE Security Associations (SA) for a specific peer.
-run: /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ike_sa.xsl --pname peer --pval "$*"
+run: sudo /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ike_sa.xsl --pname peer --pval "$*"
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 27e972f..5b7e5f0 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,2 +1,2 @@
help: Show details of all active IPsec Security Associations (SA) for a specific connection.
-run: /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname detail --pval y --pname conn --pval "$*"
+run: sudo /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname detail --pval y --pname conn --pval "$*"
diff --git a/templates/show/vpn/ipsec/sa/detail/node.def b/templates/show/vpn/ipsec/sa/detail/node.def
index 348bf85..7092244 100644
--- a/templates/show/vpn/ipsec/sa/detail/node.def
+++ b/templates/show/vpn/ipsec/sa/detail/node.def
@@ -1,2 +1,2 @@
help: Show details of all active IPsec Security Associations (SA).
-run: /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname detail --pval y
+run: sudo /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname detail --pval y
diff --git a/templates/show/vpn/ipsec/sa/detail/peer/node.tag/node.def b/templates/show/vpn/ipsec/sa/detail/peer/node.tag/node.def
index f00644c..ea732bb 100644
--- a/templates/show/vpn/ipsec/sa/detail/peer/node.tag/node.def
+++ b/templates/show/vpn/ipsec/sa/detail/peer/node.tag/node.def
@@ -1,2 +1,2 @@
help: Show details of all active IPsec Security Associations (SA) for a specific peer.
-run: /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname detail --pval y --pname peer --pval "$*"
+run: sudo /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname detail --pval y --pname peer --pval "$*"
diff --git a/templates/show/vpn/ipsec/sa/nat-traversal/node.def b/templates/show/vpn/ipsec/sa/nat-traversal/node.def
index d0f225a..0976e07 100644
--- a/templates/show/vpn/ipsec/sa/nat-traversal/node.def
+++ b/templates/show/vpn/ipsec/sa/nat-traversal/node.def
@@ -1,2 +1,2 @@
help: Show all active IPsec Security Associations (SA) that are using NAT Traversal.
-run: /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname nat --pval enabled
+run: sudo /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname nat --pval enabled
diff --git a/templates/show/vpn/ipsec/sa/node.def b/templates/show/vpn/ipsec/sa/node.def
index 97174c3..771a481 100644
--- a/templates/show/vpn/ipsec/sa/node.def
+++ b/templates/show/vpn/ipsec/sa/node.def
@@ -1,2 +1,2 @@
help: Show all active IPsec Security Associations (SA).
-run: /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl
+run: sudo opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl
diff --git a/templates/show/vpn/ipsec/sa/peer/node.tag/node.def b/templates/show/vpn/ipsec/sa/peer/node.tag/node.def
index c7cfd9a..a06d1d8 100644
--- a/templates/show/vpn/ipsec/sa/peer/node.tag/node.def
+++ b/templates/show/vpn/ipsec/sa/peer/node.tag/node.def
@@ -1,2 +1,2 @@
help: Show all active IPsec Security Associations (SA) for a specific peer.
-run: /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname peer --pval "$*"
+run: sudo /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname peer --pval "$*"
diff --git a/templates/show/vpn/ipsec/sa/statistics/node.def b/templates/show/vpn/ipsec/sa/statistics/node.def
index 9fcfacf..4f38584 100644
--- a/templates/show/vpn/ipsec/sa/statistics/node.def
+++ b/templates/show/vpn/ipsec/sa/statistics/node.def
@@ -1,2 +1,2 @@
help: Show statistics on all active tunnels that have IPsec Security Associations (SA).
-run: /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa_statistics.xsl
+run: sudo /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa_statistics.xsl
diff --git a/templates/show/vpn/ipsec/status/node.def b/templates/show/vpn/ipsec/status/node.def
index b31537c..542280a 100644
--- a/templates/show/vpn/ipsec/status/node.def
+++ b/templates/show/vpn/ipsec/status/node.def
@@ -1,2 +1,2 @@
help: Show the status of the IPsec process.
-run: /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_status.xsl
+run: sudo /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_status.xsl