• RSS
  • SmsJobs
  • Sms
  • GoogleBuzz
  • Facebook
  • Twitter
  • Linkedin
  • Youtube
The Linux Juggernaut

The Linux Juggernaut

roles on……

Do you like www.linuxnix.com ? Please consider supporting us by becoming a subscriber and get a Linux basics e-book for free.

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 its 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
$sudo su
Clipped output for your reference
surendra@test:~$ sudo su
[sudo] password for surendra:
root@test:/home/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.
root@test:/home/surendra#passwd

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:-)

Do you like www.linuxnix.com ? Please consider supporting us by becoming a subscriber and get a Linux basics e-book for free.
bySurendra On Sunday-January - 10 - 2010

email newsletter

Redhat Flagship dist

Redhat announced that they are going to release RHEL7 by ...

12 examples to use f

Flower brackets examples This is a small post on how to ...

7 Linux read command

read command examples read command is useful in scripts when reading ...

7 linux sort command

Linux/Unix sort command examples This is a small tutorial on how ...

How to find command

How to find command location in Linux and Unix This is ...

  • About Linux Juggernaut

    How the blog name selected? Juggernaut: * a massive inexorable force that seems to crush everything in its way ...readmore>>

  • Contact Me

    Contact us Send an Email Phone number and vCard LinkedIn profile Advertise with us
  • About Me

    Surendra Kumar Chowdary

    My name is Surendra Kumar Anne. I am from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present i work at Persistent Systems as Module Lead.   read more »