0
Thanks

A few words of thanks would be greatly appreciated.

Myth - There is no root account under Ubuntu

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
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
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).

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!