This post will show you how to login as root in Ubuntu
By default Ubuntu will not allow you to login as root due to security reason.
So how to login as root without knowing it’s password?
Ans : Here are simple steps to login as root.
Step1 : Login to normal user account
Step2 : Open a terminal and type the below command
Clipped output for your reference
surendra@test:~$ sudo su
[sudo] password for surendra:
So just enter your password you will get root prompt.
Step3 : Now set the password whatever you want. But try to assign a complex password with following criteria for security reasons.
Follow these rules when setting a password.
1) The password should be 8 letter length
2) It should contain Alpha, numeric, symbols etc.
Please comment your thoughts regarding this post:-)