本文共 523 字,大约阅读时间需要 1 分钟。
官网:
# yum install -y gcc# wget https://olivier.sessink.nl/jailkit/jailkit-2.19.tar.gz# tar xf jailkit-2.19.tar.gz# cd jailkit-2.19/# ./configure# make && make install
# mkdir -p /home/jailkit# cd /home/jailkit/# jk_init -v /home/jailkit/ jk_lsh basicshell extendedshell
# useradd test# passwd test# jk_jailuser -j /home/jailkit/ -s /bin/bash testhome directory /home/test is not within /home/jailkit/, move the directory contents?[Y]/[n]y
转载于:https://blog.51cto.com/magnosaurus/2071381