Myth - There is no root account under Ubuntu

December 2016


There is no root account under Ubuntu.




Run the following command:
 cat /etc/passwd

However the root account exists with a blank password which is however restricted. There is no way to use the root account for login.

Ubuntu has made this choice for security reasons to unable the use of the root account to log into the computer, both locally and remotely.
  • To access a root shell, type in a terminal:
    sudo -i
  • To run a command as root, type:
    sudo command
  • To start a graphical application as root, type :
    gksudo application

Related :

This document entitled « Myth - There is no root account under Ubuntu » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.