From 646b92e39c7b46b706de364c2d1d22c7849e5036 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 29 Oct 2014 15:17:21 -0700 Subject: pinyadmin: bash -r -> ksh -r because the bash people apparently like to deprecate security features without bothering to tell anyone --- pinyadmin/bin/pinyhelp | 2 +- pinyadmin/bin/pinyshell | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pinyadmin/bin') 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 "$@" -- cgit v1.2.3