Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



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.




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

Search: