summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/vpn/rsa-key/generate/bits/node.tag/node.def2
-rw-r--r--templates/vpn/rsa-key/generate/bits/node.tag/random/node.tag/node.def2
-rw-r--r--templates/vpn/rsa-key/generate/node.def2
3 files changed, 3 insertions, 3 deletions
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 defcd7c..089d02e 100644
--- a/templates/vpn/rsa-key/generate/bits/node.tag/node.def
+++ b/templates/vpn/rsa-key/generate/bits/node.tag/node.def
@@ -1,3 +1,3 @@
help: Generate local RSA key with number of bits [16-4096]
-run: sudo /opt/vyatta/sbin/gen_local_rsa_key.pl "$5" /dev/random
+run: sudo /opt/vyatta/bin/sudo-users/gen_local_rsa_key.pl "$5" /dev/random
allowed: echo -n '<num_bits>'
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 3b0b1d9..00b26e2 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,3 +1,3 @@
help: Generate local RSA key with number of bits and random device
-run: sudo /opt/vyatta/sbin/gen_local_rsa_key.pl "$5" "$7"
+run: sudo /opt/vyatta/bin/sudo-users/gen_local_rsa_key.pl "$5" "$7"
allowed: echo -n '/dev/random /dev/urandom'
diff --git a/templates/vpn/rsa-key/generate/node.def b/templates/vpn/rsa-key/generate/node.def
index 2e6272f..6c7a368 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: sudo /opt/vyatta/sbin/gen_local_rsa_key.pl 2192 /dev/random
+run: sudo /opt/vyatta/bin/sudo-users/gen_local_rsa_key.pl 2192 /dev/random