Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
tetris11
3y ago
0 comments
Share
I also wonder....
function sudo { su -c "$@" root }
though I guess half the struggle is enabling sudo without a password
0 comments
default
newest
oldest
iso1631
3y ago
"sudo" asks you for
your
individual password. "su root" asks you for a single root password
Arnavion
3y ago
To be precise, whether sudo asks for your password or the target's password is configurable, and different distros have different defaults.
j
/
k
navigate · click thread line to collapse