How do I login as root in UBUNTU

Simulate a root environment. 
If you really need root access, you can simiulate root using sudo. This will provide you with unhindered root access, which means a mistyped command could destroy your system.
  • Enter the command sudo passwd root. This will create a password for your root account, essentially "enabling" it. Make sure you don't forget this password.
  • Enter the command sudo -i. You will be asked for your root password.
  • Your prompt will change from $ to #, indicating you have root access.
  • To disable root access, enter the command sudo passwd -dl root.

Comments

Popular posts from this blog

VICIdial Scratch Install CentOS 7 & MariaDB & Asterisk 11

How to Change Default CRON Password in VICIdial.

VICIdial Scratch Install CentOS 7 & MariaDB & Asterisk 13