diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2014-10-29 15:17:21 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2014-10-29 15:17:21 -0700 |
commit | 646b92e39c7b46b706de364c2d1d22c7849e5036 (patch) | |
tree | 1b3d770599a24b72b2c4052731e9fdc2b6e5c12c /pinyadmin/bin | |
parent | 77d61b6bdc1db054206d1341c20587794fb3c0e1 (diff) | |
download | piny-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-x | pinyadmin/bin/pinyhelp | 2 | ||||
-rwxr-xr-x | pinyadmin/bin/pinyshell | 2 |
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 "$@" |