Technology and troubleshooting.

Sunday, December 27, 2015

Enable ROOT Account in Ubuntu


Enable ROOT Account in Ubuntu 

In this tutorial I am going to show you how to enable root account in ubuntu.




Step 1:- Set root password for root account. 
Open the terminal window type the below command
 sudo passwd root 

Enter the new password for root account




Enter the new password twice

Step 2:- Enable root account
 sudo vi /etc/ssh/sshd_config

at the authentication line replace the following lines

FROM:
PermitRootLogin without-password
TO:
PermitRootLogin yes
PremitRootLogin yes
Step 3:- Restart the ssh service
sudo service ssh restart


Now your root account is ready to login  

I hope this information is useful for you.


Share: