summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-08-03 11:59:21 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-08-03 11:59:21 -0500
commitf6e3d3d687bdc82e4fa885864b35d9d7aa9ed5ca (patch)
treef15084d2df351671952e98b5da2bb7d4df74fcb8 /scripts
parent5881df96b478d388813557d7280e55e788b5e175 (diff)
downloadvyatta-op-f6e3d3d687bdc82e4fa885864b35d9d7aa9ed5ca.tar.gz
vyatta-op-f6e3d3d687bdc82e4fa885864b35d9d7aa9ed5ca.zip
Generate unpriviledged allowed-op at compile time. Add script to allow admin user to regenerate it if needed. Fix ambiguous command message.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyatta-regen-unpriv-commands.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/vyatta-regen-unpriv-commands.sh b/scripts/vyatta-regen-unpriv-commands.sh
new file mode 100644
index 0000000..e6f7e2f
--- /dev/null
+++ b/scripts/vyatta-regen-unpriv-commands.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+source /opt/vyatta/share/vyatta-op/functions/interpreter/vyatta-unpriv
+vyatta_unpriv_gen_allowed