Difference between revisions of "Open Terminal as root"

From Amahi Wiki
Jump to: navigation, search
Line 1: Line 1:
Root can mean different things in Linux:<br>
 
*''root partition'' is the partition with your system files in it.<br>
 
*''root file system'' is the ground level of your file system.  You can go in no deeper.<br><br>
 
''root'' user is the Linux equivalent (more or less) to the Windows Administrator.<br>
 
 
 
Sometimes, you'll be asked to open a Terminal window, and become root.
 
Sometimes, you'll be asked to open a Terminal window, and become root.
  

Revision as of 00:40, 28 April 2017

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

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

NOTE: Precede each command with sudo for Ubuntu and Fedora if you did not create a root password.

Once the Terminal window is open, type the following command:

su -

You'll be asked for the root password (for Ubuntu and Fedora, the password is your user password):

[gb@hda ~]$ su -
Password:

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

[root@hda ~]#

To exit back to the standard user:

[root@hda ~]$ exit
[gb@hda ~]#