How to Enable the root Login on Ubuntu 11.10

Share this Article :

In this post, i will show on how to enable root login in Ubuntu 11.10 linux server. This post assumed that you already installed Ubuntu 11.10 server. Besides, that is assumed i had created the username ‘ehowstuff’ on my previous installation of Ubuntu 11.10 server and login to this Ubuntu 11.10 server as ehowstuff account.

login as: ehowstuff
[email protected]'s password:
Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-generic-pae i686)

 * Documentation:  https://help.ubuntu.com/

  System information as of Tue Apr  3 20:57:51 MYT 2012

  System load:  0.11              Processes:           66
  Usage of /:   6.5% of 13.50GB   Users logged in:     1
  Memory usage: 3%                IP address for eth0: 192.168.1.37
  Swap usage:   0%

  Graph this data and manage this system at https://landscape.canonical.com/
Last login: Tue Apr  3 20:54:22 2012
To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.

[email protected]:~$ 

To enable the root login and create root password, please enter “sudo passwd root” on the terminal. Then you will be asked to enter your login password (in this case i login as ehowstuff), followed by the password of ROOT account (enter new UNIX password).

[email protected]:~$ sudo passwd root
[sudo] password for ehowstuff:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

After this steps done, you can then directly log in as root either through putty or terminal.

Leave a Reply