Hacker News (curated)new | past | comments | ask | show | jobs| show hidden

There is. Simply do not install sudo and do not allow access to root at runtime. I am serious. There is absolutely nothing you cannot run unprivileged these days. Can even run sshd from a systemd user unit in your home folder, and even assign port 22 to it if needed with Linux Capabilities.


How do you update the kernel?

Just don't be in the sudo group.

So the solution is to make your computer basically unusable. I guess that's one way to secure things.

But what exactly are you protecting then?

Linux root/regular-user model comes from an ancient time with multi-user architecture where you defended against one user taking over a big machine they didn't own.

But today on personal computers all the good stuff is inside regular users accounts, and there is nothing valuable to be gained by becoming root.

So the whole security model is broken, it protects the OS system files that nobody cares about, while allowing any piece of software complete access to valuable user files.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact | github