This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# script to automate the creation of chroot jail | |
# w/ minimal executables to run apache+php+mysql | |
CHROOT=/var/jail | |
DEB_CACHE=/tmp/jail_cache | |
if [ "$(whoami)" != "root" ]; then | |
echo "Script must be run as user: root" | |
exit 1 |