Difference between revisions of "Open Terminal as root"

From Amahi Wiki
Jump to: navigation, search
(Created page with 'Sometimes, you'll be asked to open a Terminal window, and become root. To do that, on the HDA itself, go in the Applications menu, and select System > Terminal. To do that from…')
 
Line 5: Line 5:
 
To do that from a remote computer, [[SSHtoHDA|SSH into your HDA]].
 
To do that from a remote computer, [[SSHtoHDA|SSH into your HDA]].
  
Once the Terminal window is open, type the following command:
+
Once the Terminal window is open, type the following command ('''NOTE:'''  Precede each command with <code>sudo</code> for Ubuntu):
  
 
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
 
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">

Revision as of 19:33, 18 August 2012

Sometimes, you'll be asked to open a Terminal window, and become root.

To do that, on the HDA itself, go in the Applications menu, and select System > Terminal.

To do that from a remote computer, SSH into your HDA.

Once the Terminal window is open, type the following command (NOTE: Precede each command with sudo for Ubuntu):

su -

You'll be asked for the root password:

[gb@hda ~]$ su -
Password:

You now have a Terminal open, and you're logged as root:

[gb@hda ~]$ su -
Password:
[root@hda ~]#