Jump to content


- - - - -

How to Enable root Login on Ubuntu Server

Ubuntu Server 14.04

  • Please log in to reply
No replies to this topic

#1 Wilson18



  • root
  • 112 posts
  • LocationUniversity of Birmingham

Posted 01 June 2014 - 06:23 PM

In this tutorial, I will be showing you how to enable root login on Ubuntu Server. To do this, you will need to log in to your server on your normal account. You must have permission to sudo. Once in, type

sudo su

Enter your password. 

Once switched to root, you then have to set a password for the user. 

passwd root

Enter your new password for the root user. Once you have done this, you will be able to login as root. If you then type 


This should then log out out of the server. You can then try and log in with root and the password you selected.

  • Rolandcalm likes this

List what you read?

Check me out on: YouTube, Twitter, Facebook, Google+

Also tagged with one or more of these keywords: Ubuntu Server 14.04