|
|
|
|
|
by brb3
3934 days ago
|
|
For those wondering about `rootless`, it is implemented as an extended attribute on files/directories. $ xattr /usr com.apple.FinderInfo com.apple.rootless Running `sudo rm -rf /usr` fails. $ sudo rm -rf /usr rm: /usr: Operation not permitted Here is a list of all of the `rootless` files and directories on my system. It appears to be mostly kext files, and Apple applications. https://gist.github.com/bobbyburden/4ce5c42044e5a9967b25 |
|
Locking the system down will make it a bit harder to shoot yourself in the foot. Besides the obvious advantage of reducing the attack surface of vulnerabilities.