summaryrefslogtreecommitdiff
path: root/pinyadmin/bin
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2014-10-29 15:17:21 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2014-10-29 15:17:21 -0700
commit646b92e39c7b46b706de364c2d1d22c7849e5036 (patch)
tree1b3d770599a24b72b2c4052731e9fdc2b6e5c12c /pinyadmin/bin
parent77d61b6bdc1db054206d1341c20587794fb3c0e1 (diff)
downloadpiny-code-646b92e39c7b46b706de364c2d1d22c7849e5036.tar.gz
piny-code-646b92e39c7b46b706de364c2d1d22c7849e5036.zip
pinyadmin: bash -r -> ksh -r because the bash people apparently like to deprecate security features without bothering to tell anyone
Diffstat (limited to 'pinyadmin/bin')
-rwxr-xr-xpinyadmin/bin/pinyhelp2
-rwxr-xr-xpinyadmin/bin/pinyshell2
2 files changed, 2 insertions, 2 deletions
diff --git a/pinyadmin/bin/pinyhelp b/pinyadmin/bin/pinyhelp
index 5e65540..22f27fa 100755
--- a/pinyadmin/bin/pinyhelp
+++ b/pinyadmin/bin/pinyhelp
@@ -1,7 +1,7 @@
#!/bin/sh
if [ $SHELL = /usr/bin/pinyshell ]; then
- echo "You are in a restricted shell. Along with some safe Bash builtins, you are able to execute the following Piny commands:"
+ echo "You are in a restricted shell. Along with some safe KornShell builtins, you are able to execute the following Piny commands:"
else
echo "You are able to execute the following Piny commands:"
fi
diff --git a/pinyadmin/bin/pinyshell b/pinyadmin/bin/pinyshell
index 65adfe1..2cfc3cf 100755
--- a/pinyadmin/bin/pinyshell
+++ b/pinyadmin/bin/pinyshell
@@ -3,4 +3,4 @@ cd /srv/rbin
umask 0022
export PATH=/srv/rbin
-exec /bin/rbash "$@"
+exec /bin/ksh -r "$@"