Myth - There is no root account under Ubuntu

August 2017




Myth


There is no root account under Ubuntu.

Reality


FALSE.

Explanations


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


Published by deri58. Latest update on August 15, 2009 at 09:22 PM by fahd_zboot.
This document, titled "Myth - There is no root account under Ubuntu," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).