Hacker News new | ask | show | jobs
by remus 863 days ago
> Just that you can run a single command as admin?

I mean, that's sudo's whole thing! [1] You can live your day to day terminal life without the risk of borking things too badly, then when you occasionally need to elevate to higher privileges you can do it easily for that specific command.

[1] Technically not the whole thing obviously, but it's a very common use case.

1 comments

That has nothing to do with sudo; you could do the same with su -c long before sudo existed...
If you know the root password
Defaults targetpw

The point of sudo is not which password is used, whatsoever.