su and sudo howto


  1. #1 davem
    April 29, 2009

    In Ubuntu, there’s no root password for a very good reason – security. Attempts at hacking the root password fail because there isn’t one, so they need not only brute force your password, they also need to guess your user name.

    If you want su access, just use ‘sudo bash’ with your own password.

  2. #2 Lassi Hippeläinen
    April 29, 2009

    Guessing the superuser name doesn’t add much to security. It is easier than guessing the password. And for permanent sudo you can use sudo -i.
    (to keep my nerd membership card, I must link to xkcd regularly)