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

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


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

    alias sudo="su root -c"




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

Search: