Sunday, July 18, 2010

Welcome To Devils Workshop!!!

Welcome To Devils Workshop!!!


How to Login as a root user in Ubuntu 10.04

Posted: 18 Jul 2010 05:36 AM PDT


The following steps are very simple and especially for newbies who are completely new to Linux. :-) By logging in as root user, you are making your operating system more vulnerable. Root user has all the administrator privileges so whenever you need to edit system files or configuration from within Gnome, you will feel the need to login to Ubuntu as a root user. There are 2 methods to login as a root user

  • Graphical Method (GUI Method)
  • Command Line Method (CLI Method)

Method 1: GUI Method

Following are the steps to be followed to login as a root user in GUI Mode,

  1. Go to Applications -> Accessories -> TerminalScreenshot 600x528 How to Login as a root user in Ubuntu 10.04
  2. Type: sudo passwd root
  3. Enter your password of the current user
  4. When you see the prompt that says "Enter new UNIX password", enter the password you want for the root user and confirm it. [My suggestion is to assign its pswd as "root"]
  5. Exit from the terminal. logout and then reboot and login back by typing Username: root Password: root
  6. Type exit to exit the terminal
  7. Screenshot ijeyanthan@ubuntu  600x394 How to Login as a root user in Ubuntu 10.04

  8. Restart Ubuntu and wait for the login screen to appearubuntu10artwork large 006b 600x449 How to Login as a root user in Ubuntu 10.04
  9. Click other.. and type User name : root and Password : root

This should work fine and you are done.!

Method 2: CLI Mode

Following are the steps to be followed to login as a root user in CLI Mode,

  1. Go to Applications -> Accessories -> Terminal
  2. Type sudo su (Meaning: superuserdo superuser) Screenshot root@ubuntu home ijeyanthan1 600x378 How to Login as a root user in Ubuntu 10.04
  3. Now you are into root dircetory, You may modify whatever you wish from here if you are familiar with commands.
  4. NOTE: You can also login into other Users from root directory via terminal window by typing the following command login username and Password of the corresponding User you wish to login. Screenshot ijeyanthan@ubuntu 1 600x394 How to Login as a root user in Ubuntu 10.04
  5. Use the above method with Caution.Read this post for assistance https://help.ubuntu.com/community/RootSudo

Note: Always take a backup of the file  that you wish to alter, so that you may set them back if anything went wrong.

-- This Post How to Login as a root user in Ubuntu 10.04 is Published on Devils Workshop .

0 comments: