

There is no need for them to remember a root password, as they use their own password. With sudo, you choose in advance which users have sudo access. You will see the above usage of sudo pretty much anywhere you read a tutorial about Ubuntu on the web.

This is remembered for a few minutes so if you have a few tasks to do with sudo it will only ask you for your password on the first. For instance, to run apt-get dist-upgrade as a superuser, you could use: sudo apt-get dist-upgradeīy default, sudo will ask you for your own account password when performing this. In a default Ubuntu install the person who installed the OS is given "sudo" permission by default.Īnybody with "sudo" permission may perform something "as a superuser" by pre-pending sudo to their command. Sudo is an alternative to giving people a root password in order to perform superuser duties. Instead Ubuntu expects that you will be using sudo. While you can create a password for the root account allowing you to log in as root with su, this isn't the typical "Ubuntu" way of doing things. Instead you are given the ability to perform tasks with superuser privileges using sudo. By default Ubuntu does not set up a root password and therefore you don't get the ability to log in as root.
