Ubuntu: Enable root account
Ubuntu comes with a pre-locked ‘root’ user. That is, root account is not accessible, not login-able but exists nevertheless. The default user (or the primary user) owns the sudo rights. Hence this user has all rights to perform “on behalf” of the root. But still root account, sometimes, is very important and useful.
The question then is how to enable to root account?
Interestingly, ‘root’ account is already enabled! We just don’t know the password! 🙂 So, the solution is to just change the password for the root account and then ‘bam’ we are in! 🙂
How do we do it? Here you go:
$ sudo passwd [sudo] password for meetrp:
This is a request for your user account’s password and _NOT_ the root password already. For instance, my user account is ‘meetrp’ and thus I type my account password here. After which you should see this:
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
Bam! Wanna test it? 🙂
$ su Password: root@meetrp-pc:/home/meetrp#
You are welcome! 😉
Leave a Reply