summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-08-03 11:58:03 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-08-03 11:58:03 -0500
commitb25efca772ca309f18bbf2c760e8fc30fbb9aed4 (patch)
tree05908e8614fefeec0d6663b557c1aa16143edf7c /etc
parentf24ee452b89ea7a76fa8bbbea8c196b271dfd36a (diff)
downloadvyatta-cfg-b25efca772ca309f18bbf2c760e8fc30fbb9aed4.tar.gz
vyatta-cfg-b25efca772ca309f18bbf2c760e8fc30fbb9aed4.zip
Move allowed-op.in to vyatta-op to allow allowed-op for unpriviledged users to be generated at compile time. Remove boot time generation of unpriviledged allowed-op
Diffstat (limited to 'etc')
-rwxr-xr-xetc/init.d/vyatta-router7
-rw-r--r--etc/shell/level/users/allowed-op.in20
2 files changed, 0 insertions, 27 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router
index 43c9e29..e10f054 100755
--- a/etc/init.d/vyatta-router
+++ b/etc/init.d/vyatta-router
@@ -186,12 +186,6 @@ mount_slash_config ()
fi
}
-generate_unpriv_cmds ()
-{
- source /opt/vyatta/share/vyatta-op/functions/interpreter/vyatta-unpriv
- vyatta_unpriv_gen_allowed
-}
-
start ()
{
log_action_begin_msg "Mounting Vyatta Config"
@@ -236,7 +230,6 @@ start ()
telinit q
bind_mount_boot
chmod g-w,o-w /
- generate_unpriv_cmds
}
stop()
diff --git a/etc/shell/level/users/allowed-op.in b/etc/shell/level/users/allowed-op.in
deleted file mode 100644
index a45a92f..0000000
--- a/etc/shell/level/users/allowed-op.in
+++ /dev/null
@@ -1,20 +0,0 @@
-clear
-connect
-debug
-delete
-disconnect
-exit
-force
-no
-ping
-ping6
-release
-renew
-set
-show
-telnet
-terminal
-traceroute
-traceroute6
-undebug
-update