summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/default/vyatta-cfg1
-rw-r--r--etc/shell/level/users/allowed-op1
-rw-r--r--etc/shell/level/users/allowed-pipe2
3 files changed, 2 insertions, 2 deletions
diff --git a/etc/default/vyatta-cfg b/etc/default/vyatta-cfg
index d801239..7d189d8 100644
--- a/etc/default/vyatta-cfg
+++ b/etc/default/vyatta-cfg
@@ -44,6 +44,7 @@ else
# no need to check is_users since there are only 2 levels for now
declare -x -r VYATTA_USER_LEVEL_DIR=${vyatta_sysconfdir}/shell/level/users
declare -x -r LESSSECURE=1
+ alias more=less
fi
} 2>/dev/null || :
diff --git a/etc/shell/level/users/allowed-op b/etc/shell/level/users/allowed-op
index 498d120..4c8d16f 100644
--- a/etc/shell/level/users/allowed-op
+++ b/etc/shell/level/users/allowed-op
@@ -8,7 +8,6 @@ reboot
set
show
telnet
-terminal
traceroute
undebug
vpn
diff --git a/etc/shell/level/users/allowed-pipe b/etc/shell/level/users/allowed-pipe
index 3204ef3..2d92acc 100644
--- a/etc/shell/level/users/allowed-pipe
+++ b/etc/shell/level/users/allowed-pipe
@@ -1,4 +1,4 @@
-more
+less
1
no-more
1