Editing Root access
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 12: | Line 12: | ||
<small>''Note: As rootsh is the simplest option, and does not require a desktop computer or running additional services, it is the recommended method for gaining root access.''</small> | <small>''Note: As rootsh is the simplest option, and does not require a desktop computer or running additional services, it is the recommended method for gaining root access.''</small> | ||
- | <code>rootsh</code> is available in [[Extras]], and can be installed from the Application manager if you have | + | <code>rootsh</code> is available in [[Extras]], and can be installed from the Application manager if you have Extras enabled. |
- | Then, from the | + | Then, from the shell, run <code>sudo gainroot</code> (or <code>root</code> for short). This will give you a root shell. |
- | + | ||
- | (or <code>root</code> for short). This will give you a root shell. | + | |
== sudser == | == sudser == | ||
- | <small>''Note: Some scripts require rootsh to run properly, so it's recommended to have both | + | <small>''Note: Some scripts require rootsh to run properly, so it's recommended to have both suders and rootsh installed if you're using sudser.''</small> |
- | sudser adds the user to sudoers so you can use the <code>sudo</code> command to run commands as root. | + | sudser adds the user to sudoers so you can use the <code>sudo</code> command to run commands as root. It is available in Extras, and can be installed from the Application manager if you have Extras enabled. |
- | + | ||
- | It is available in Extras, and can be installed from the Application manager if you have Extras enabled. | + | |
+ | It is not currently available for [[Open development/Maemo roadmap/Fremantle|Fremantle]] (i.e. [[Nokia N900|N900]]). | ||
Then, from the shell, run <code>sudo ''command''</code>. This will execute <code>''command''</code> with root privileges. | Then, from the shell, run <code>sudo ''command''</code>. This will execute <code>''command''</code> with root privileges. | ||
- | |||
- | |||
== OpenSSH == | == OpenSSH == | ||
Line 46: | Line 41: | ||
== Research & Development Mode (R&D or RD Mode) == | == Research & Development Mode (R&D or RD Mode) == | ||
- | + | <small>''Note: As R&D mode has other side effects beyond simply enabling root access (including several that may negatively impact battery life), it is ''not'' the recommended method for gaining root access. Use [[#rootsh|rootsh]] instead.</small> | |
- | + | ||
- | + | ||
You can enable the R&D mode which enables you to execute <code>sudo gainroot</code> to get a root shell, simply follow the setup steps for flashing covered in [[Updating the firmware|updating the tablet firmware]], then execute | You can enable the R&D mode which enables you to execute <code>sudo gainroot</code> to get a root shell, simply follow the setup steps for flashing covered in [[Updating the firmware|updating the tablet firmware]], then execute | ||
Line 56: | Line 49: | ||
You are now in R&D mode, and the sudo gainroot script's check will be satisfied. | You are now in R&D mode, and the sudo gainroot script's check will be satisfied. | ||
- | + | See also the [[R&D mode]] article. | |
- | + | ||
- | + | ||
== A note on sudo == | == A note on sudo == |
Learn more about Contributing to the wiki.