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

Because it is trivial for unprivileged malware to phish the password and escalate to root. No production system should ever ship with sudo.


You do realize you can do the exact same thing on macOS? Just alias sudo to whatever you want. BSD I assume you can do the same with doas.

No desktop system is safe from your attack, unless you take specific precautions like chattr on the file or chmodding your home directory, but that can lead to weird breakage.


No popular Linux desktop, I would grant you. I use QubesOS and my own distro, stagex.

You basically don’t use sudo on macOS though. Maybe once in a blue moon



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