How to login ubuntu as root user


here the tricks of how to login ubuntu as root user…
Open the terminal and type:

sudo passwd root

When you see the prompt that says “Enter new UNIX password”, enter the password you want for the root user and confirm it.
Save the file.

Click other and type your user name: root, and enter the password of root you have set.

Thats it ………
***Note this is a bad Idea to do if you are connected to the Internet while logged in as root. Any malicious scripts execute themselves with out user permissions.

  1. thanks for sharing..

    • Md. Ruzdi Islam
    • August 18th, 2010

    you are always welcome ……

  2. Note this is a bad Idea to do if you are connected to the Internet while logged in as root. Any malicious scripts execute themselves with out user permissions. Please could you add this to your post so users are aware of the treat.

  3. When you have gksudo nautilus and sudo -i why do you need to enable a root login?

    • Md. Ruzdi Islam
    • August 19th, 2010

    I agree with both of you. I also use standard user for log on . I just share it.

    • Md. Ruzdi Islam
    • August 19th, 2010

    And thanks techonologyunit for your advice i was forget to add it. Your cotation is added

    • plvythwy
    • March 30th, 2012

    Hi, I like this site. Express you for tips. I build these tips to some extent helpful. But I got another point: where to buy admissible and cheap conspirator products?

  1. No trackbacks yet.

Leave a reply to bobin Cancel reply