Hacker News new | ask | show | jobs
by tetris11 1318 days ago
I also wonder....

    function sudo { su -c "$@"  root }
though I guess half the struggle is enabling sudo without a password
1 comments

"sudo" asks you for your individual password. "su root" asks you for a single root password
To be precise, whether sudo asks for your password or the target's password is configurable, and different distros have different defaults.