vhost-stack/libexec/command-not-found-handle

18 lines
421 B
Plaintext
Raw Normal View History

2021-04-04 13:28:22 -07:00
#!/bin/bash
echo
echo $1: command not found
echo
echo " Note this is a secure chroot jail which"
echo " only includes a limited set of commands."
echo
if [[ "$1" =~ "passwd" ]]; then
echo " To change your password please contact"
echo " support."
else
echo " If you are trying to execute a command that"
echo " you believe should be included in this chroot"
echo " jail please contact support."
fi
echo