Difference between revisions of "Root"

From Amahi Wiki
Jump to: navigation, search
m (typo)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== How to become root in a console ===
+
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>
  
If you need root permissions, this is how to get them.
+
Refer to [[Open_Terminal_as_root|Open Terminal as Root]].
 
 
The user ''root'' is the Linux equivalent (more or less) to the Windows Administrator.<br><br>
 
1. Open a terminal aka console aka command prompt.<br>
 
[[File:open terminal.jpg|600px]]<br><br>
 
2. Enter the command ''su''<br>
 
[[File:root rights1.jpg|600px]]<br><br>
 
You will be asked for the password of the user ''root'', enter it.<br>
 
If you come from Windows, do not expect to see anything while entering it.<br>
 
When you look at the prompt, you will see that the user name has changed to ''root@hdavirtu'', proof that you now have acquired root permissions:<br>
 
[[File:root rights2.jpg|600px]]<br><br>
 
3. Do whatever you needed the root permissions for.<br><br>
 
4. When you are done, type ''exit''<br>
 
[[File:root rights3.jpg|600px]]<br><br>
 
You'll notice by looking at the prompt that you are the standard user again.
 

Latest revision as of 00:41, 28 April 2017

Root can mean different things in Linux:

  • root partition is the partition with your system files in it.
  • root file system is the ground level of your file system. You can go in no deeper.

root user is the Linux equivalent (more or less) to the Windows Administrator.

Refer to Open Terminal as Root.