Y
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
iso1631
1318 days ago
"sudo" asks you for
your
individual password. "su root" asks you for a single root password
link
Arnavion
1318 days ago
To be precise, whether sudo asks for your password or the target's password is configurable, and different distros have different defaults.
link