vhost-stack/libexec/command-not-found-handle
2022-08-22 13:22:16 -07:00

23 lines
654 B
Bash
Executable File

#!/bin/bash
#
# vhost-stack
# https://git.stack-source.com/msb/vhost-stack
# Copyright (c) 2022 Matthew Saunders Brown <matthewsaundersbrown@gmail.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
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