Hacker News new | ask | show | jobs
by dheera 728 days ago
> I changed the root password

If you're going to set a root password, you might as well just do this and if I'm not mistaken it accomplishes everything you want

    alias sudo="su -c"
1 comments

Only with GNU su. A portable though limited replacement would be something like

    alias sudo="su root -c"