chrootDir=”/home” copyToJail=”/bin/ls /bin/ping /bin/time /bin/alias /usr/bin/which /bin/top /bin/ps /bin/vi /bin/vim /bin/nano /bin/openssl /etc/bashrc /etc/hostname /etc/profile.d /etc/profile /bin/bash /bin/env /bin/tail /bin/cat /bin/tail /bin/more” copyToJail=”$copyToJail /bin/head” for eachCommand in $(echo $copyToJail); do execDir=$(echo $eachCommand |xargs dirname) if [ ! -d “$chrootDir$execDir” Leer más