Hacker News new | ask | show | jobs
by vrotaru 719 days ago
lsattr - for reading attributes chattr - for setting them

You need the `i` attribute. But this is filesystem dependent. Anyway protecting the `sudo` binary from package managers is a so-so idea.