summaryrefslogtreecommitdiff
path: root/scripts/restricted-shell
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-08 17:56:37 +0100
committerGitHub <noreply@github.com>2021-01-08 17:56:37 +0100
commit8c81230819a1bde768a5948328232c5def0af0fd (patch)
treedd4f7d6c84e00e18e025a8f4ca43eeefa7731832 /scripts/restricted-shell
parentcc36c93479d954ac6ab5454c2d25e86edbc57c61 (diff)
parentac2586bc6471a141203e21ec3bfe97bfbcad6672 (diff)
downloadvyatta-cfg-system-8c81230819a1bde768a5948328232c5def0af0fd.tar.gz
vyatta-cfg-system-8c81230819a1bde768a5948328232c5def0af0fd.zip
Merge pull request #136 from dmbaturin/remove-unused-scripts
T671: remove apparently unused scripts.
Diffstat (limited to 'scripts/restricted-shell')
-rwxr-xr-xscripts/restricted-shell11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/restricted-shell b/scripts/restricted-shell
deleted file mode 100755
index ffcbb53b..00000000
--- a/scripts/restricted-shell
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-if [ $# != 0 ]; then
- echo "Remote command execution is not allowed for operator level users"
- args=($@)
- args_str=$(IFS=" " ; echo "${args[*]}")
- logger "Operator level user $USER attempted remote command execution: $args_str"
- exit 1
-fi
-
-exec vbash