Enable super user account password on Ubuntu

Rab, 05/02/2012 - 11:21 -- bonny

First, set a password for root user as shown below.

$ sudo passwd root
[sudo] password for ramesh:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Now with the new password you can login as super user with su command

Tags: