How to Change Root Password on Ubuntu

If you are tired of using ‘sudo‘ to execute command line activities, you can switch to root user (super user).

First of all, we assign a root password:

$ sudo passwd root

After assign password for root user, you can switch to root user using ‘su’ command and type in the password:

$ su

 

Keywords:

  • root linux
  • linux root
  • root user

Leave a Reply

Your email address will not be published. Required fields are marked *