Hacker News new | ask | show | jobs
by hansel_der 1314 days ago
idk openbsd has 'doas', windows has 'runas', 'su' is also very popular.

whats wrong with it in your opinion?

1 comments

Honestly, I don't have any issues with "sudo" it is an excellent tool for the job - it temporarily executes a command as a different user. But Ubuntu moved that to the next level, and in documentation, you'd frequently find shell samples with multiple successive sudo calls, executed as a root user. That should be replaced with a single "su".

On the other hand, I have seen excessive sudo usage only in Ubuntu and some Debian/Arch docs. Maybe, this is the reasoning behind their comment that sudo is frequently used.

<joke> Also, you can easily spot Ubuntu users: they'll type almost any command with sudo :D </joke>

su asks for the root pw thou, which most ubuntu users don't know.