diff options
author | Marat Nepomnyashy <marat@vyatta.com> | 2008-01-04 11:46:53 -0800 |
---|---|---|
committer | Marat Nepomnyashy <marat@vyatta.com> | 2008-01-04 11:46:53 -0800 |
commit | 94ccc5d8495aabd3abe20ebd2d18339337a47fd0 (patch) | |
tree | c246805f05e3ac28df958114575d4deed048f17c /templates | |
parent | ba9613a69c3fde8c875342f8976c0c7ac80b3b00 (diff) | |
download | vyatta-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')
12 files changed, 12 insertions, 12 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 diff --git a/templates/vpn/rsa-key/generate/bits/node.tag/node.def b/templates/vpn/rsa-key/generate/bits/node.tag/node.def index cc0b054..3e10bf9 100644 --- a/templates/vpn/rsa-key/generate/bits/node.tag/node.def +++ b/templates/vpn/rsa-key/generate/bits/node.tag/node.def @@ -1,2 +1,2 @@ help: Generate local RSA key with number of bits [16-4096] -run: /opt/vyatta/sbin/gen_local_rsa_key.pl "$*" /dev/random +run: sudo /opt/vyatta/sbin/gen_local_rsa_key.pl "$*" /dev/random diff --git a/templates/vpn/rsa-key/generate/bits/node.tag/random/node.tag/node.def b/templates/vpn/rsa-key/generate/bits/node.tag/random/node.tag/node.def index 46406aa..33e8ce4 100644 --- a/templates/vpn/rsa-key/generate/bits/node.tag/random/node.tag/node.def +++ b/templates/vpn/rsa-key/generate/bits/node.tag/random/node.tag/node.def @@ -1,2 +1,2 @@ help: Generate local RSA key with number of bits and random device -run: /opt/vyatta/sbin/gen_local_rsa_key.pl "$*" "$*" +run: sudo /opt/vyatta/sbin/gen_local_rsa_key.pl "$*" "$*" diff --git a/templates/vpn/rsa-key/generate/node.def b/templates/vpn/rsa-key/generate/node.def index 329a0c2..2e6272f 100644 --- a/templates/vpn/rsa-key/generate/node.def +++ b/templates/vpn/rsa-key/generate/node.def @@ -1,2 +1,2 @@ help: Generate local RSA key with default bits=2192 device=/dev/random -run: /opt/vyatta/sbin/gen_local_rsa_key.pl 2192 /dev/random +run: sudo /opt/vyatta/sbin/gen_local_rsa_key.pl 2192 /dev/random |