diff options
author | Marat Nepomnyashy <marat@vyatta.com> | 2008-02-24 22:32:34 -0800 |
---|---|---|
committer | Marat Nepomnyashy <marat@vyatta.com> | 2008-02-24 22:32:34 -0800 |
commit | 2aa9e1e5f1d5bd0fe40a65bd1e17c23813719e1b (patch) | |
tree | d692966577e18e1f61e692ea4462260b5cc42531 /templates | |
parent | 549f626d730702fb9da846febb4e0d563cb4312c (diff) | |
download | vyatta-op-vpn-2aa9e1e5f1d5bd0fe40a65bd1e17c23813719e1b.tar.gz vyatta-op-vpn-2aa9e1e5f1d5bd0fe40a65bd1e17c23813719e1b.zip |
Call 'gen_local_rsa_key.pl' from '/opt/vyatta/bin/sudo-users/' rather than '/opt/vyatta/sbin/'. Bug 2883 fix.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/vpn/rsa-key/generate/bits/node.tag/node.def | 2 | ||||
-rw-r--r-- | templates/vpn/rsa-key/generate/bits/node.tag/random/node.tag/node.def | 2 | ||||
-rw-r--r-- | templates/vpn/rsa-key/generate/node.def | 2 |
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 |