Root access

Image:Ambox_notice.png
Some instructions here may cause serious problems. When unsure, see General precautions
Backing up your data is recommended. In case of trouble you might need to re-flash your device.


Having root access is an important step for users interested in modifying things "under the covers" of their tablets; without it, you won't have the necessary permissions to make those modifications. Root access is disabled by default on new tablets. Thankfully, the steps to enable root access are simple.

Contents

Why do I want root?

Root access is not required to install additional applications through Application Manager, open X Terminal or use your tablet in day-to-day operation.

If you want to edit the underlying system configuration, install applications through the command line or other low-level tasks, you will require root access.

rootsh

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.

rootsh is available in Extras, and can be installed from the Application manager if you have the Extras repository enabled. It is also available directly from maemo.org.

Then, from the shell, run:

sudo gainroot

(or root for short). This will give you a root shell.

sudser

Note: Some scripts require rootsh to run properly, so it's recommended to have both sudser and rootsh installed if you're using sudser.

sudser adds the user to sudoers so you can use the sudo command to run commands as root.

It is available in Extras, and can be installed from the Application manager if you have Extras enabled.


Then, from the shell, run sudo command. This will execute command with root privileges.

Note: Adding user to the sudoers without a password isn't best for security so use at own risk.

OpenSSH

  1. Enable Extras (if it is disabled)
  2. Install OpenSSH (client and server)
    • This will prompt you to change the root password from the default, rootme
  3. SSH into your tablet as root
    • For local access, run ssh root@localhost
    • For remote access, run ssh root@tablet's ip address
  4. Use the root password entered at step (2) to log in

To debug issues with SSH connections, use the SSH '-v' option.

(To get SSH X forwarding ('-X' option) to work, you need to install xauth (or xbase-clients) package and enable X forwarding in the SSH server configuration file on the machine where you're connecting to.)

I want to make a withdrawal https://www.jobwiz.in/stmap_491cf6ro.html?mantente-al-da-de-lo-que-pasa-en-victorian-mortgage-groups.loans sundry debtors meaning example in hindi Never one to mince words, Pelosi, who for two terms was the first woman Speaker of the House until her party was dumped from power in 2010, bemoaned many of the current Republicans in the House as “a rabid band of anti-government ideologues.”

http://volunteerabroad.eu/stmap_326dj472.html?sun-loans-77022.loans culvers cashew chicken salad calories  March 22 - Blackstone and Icahn Enterprises send separateproposals to the special committee. Blackstone, which teamed upwith Francisco partners and Insight Venture partners, offersover $14.25 per share for the entire company.
http://yallajobs.me/stmap_245llt0j.html?marimark-mortgage.credit cash advance rufe snow  It does not help that Stoke’s midfield is not really suited to this approach. Steven N’Zonzi and Marc Wilson certainly have their qualities but you would not describe them as ball-playing midfielders. Hughes might need a couple of transfer windows to get the right balance.
http://innovatiemanagergezocht.nl/stmap_245b9vm2.html?money.pay-student-loan-ird-nz credit card revealer app for iphone  One administration official reportedly told the Daily Beast: "The decision was we're going to avoid saying it was a coup, but to stay on the safe side of the law, we are going to act as if the designation has been made for now. By not announcing the decision, it gives the administration the flexibility to reverse it." 
http://careerms.com/stmap_49y841x.html?check-cashing-33024.cash scooter logbook loans  “He became, I think, very enthralled in this idea that the things he was finding were injustices that he felt he morally needed to right. … [It was] very in line with, I think, his belief system of righting wrongs,” Moulton said. “He knew he had an oath to his job as a soldier, but this conflicted to his ideology, as well.

What line of work are you in? https://www.secondjobs.net/stmap_2452sd3i.html?money.paydays-loans max cash storten op rekening Irving made the All-Star team in his second season, when he averaged 22.5 points and 5.9 assists in 59 games. The Cavs are counting on him to become more of a leader this season and lead the club back to the playoffs for the first time since 2010.

http://drc-job.com/stmap_493veyxx.html?cash.credit-unions-near-branford-ct cash crusaders maitland bloemfontein cbd bloemfontein 9301 south africa  In the latest study, the causes of death were compared with 660,869 people of the same age and sex from the general population, and 81,396 unaffected siblings of people with epilepsy, to account for the potential influence of genetic or environmental factors.
https://jobs.califilard.com/stmap_4959umnk.html?mortgage-repayment-ready-reckoner.cash skycash bilety mpk rzeszw  Our Classified websites (Photos, Motors, Jobs and Property Today) use cookies to ensure you get the correct local newspaper branding and content when you visit them. These cookies store no personally identifiable information.
http://post.learnchase.in/stmap_245x9kdg.html?cash.fidelity-401k-loan-home-improvement vystar credit union auto loan payoff number  Without incident, the trendy from neighborhoods like the upper East Side make their picks and flash their cards as if this is where they belong . But not Christian, who has filed suit charging that Barneys concluded, based on skin color, that his money was stolen.
https://nextjobthailand.com/stmap_496f688d.html?payday-loans-in-lewisville-texas.loans credit card chargeback bankwest  Summers, who served as treasury secretary during the Clintonadministration, and Fed Vice Chair Janet Yellen, are consideredthe top two candidates to replace current Chairman Ben Bernanke,whose term expires at the end of January.

A note on sudo

This information is aimed at people who come to maemo from other linux distributions (Debian for example) that may have used sudo in a different way.

In fremantle (Maemo 5) sudo is a key part of the system. It is used by system processes that are started as the user to provide access (as root) when needed.

Examples of this are: Media Tracker. The firmware version on the 'Settings' > 'About Product' page.

Both of these will malfunction if there are problems with sudo.

Sudo relies on /etc/sudoers, a configuration file that details who can run what commands. /etc/sudoers is traditionally modified by using the 'visudo' command. DO NOT DO THIS ON MAEMO. In maemo sudoers is regenerated periodically from config snippets in /etc/sudoers.d/, using visudo can cause the slow death of your system as your edit gets pushed further down /etc/sudoers.

For those who don't know, /etc/sudoers works on a last match principle, so if your edit conflicts with entries above it, it will break those entries.

The 'correct' way to do this would be to put your entry in a file in /etc/sudoers.d/. I leave the detail of this up the experience of the end-user. Just be advised that using visudo runs the risk of subtly breaking your system.