Root Terminal in Ubuntu

terminal_icon_48_48.jpg
Hi
Ubuntu has the root account disabled.
You use sudo to run commands as root. if you need root access for some work:

  • To start a root shell, but keep the current shell’s environment, use:
    sudo -s
  • To start a root shell (i.e. a command window where you can run root commands), starting root’s environment and login scripts, use:
    sudo -i

There is also a root terminal that is in the Applications menu. You have to right-click to edit the menu’s and add a check to the root terminal in System Tools items.

Don’t forget to type ‘exit’ (or press Ctrl+D) to switch back to your normal user when you are done.

More information about sudo in Ubuntu wiki

No related posts.

Saeid Zebardast

facebook twitter linkedin Email

I'm Senior software engineer with 5+ years of professional experience includes cross-platform proficiency with considerable knowledge of programming languages especially Java and programming paradigms such as OO and development methodologies. Also I'm MySQL DBA since 2006.


Leave a Comment