notes/snippet/shell/protect.sh

4 lines
78 B
Bash
Executable File

#!/bin/bash
sudo chattr -R +i / /usr /bin /etc /lib /lib64 /boot /root /sbin