
I have just upgrade my new N800 to OS2008 beta (Maemo 4.0). Most program run faster and more smooth in OS2008, including MicroB Browser and the PDF Viewer. Of course, you should aware that many application are not ported to OS2008 yet. (Compared that there is 191 apps in www.maemo.org for OS2007 but only 37 for OS2008 )
After upgraded to OS2008, I found that I can’t login as root as in OS2007. Different from the GNU/Linux embedded devices I used before, Maemo use a better security structure. It run most application in a common user “user” instead of “root” in other embedded platforms. Sudo is used to execute tasks needed system administrator right. And you will see many rules is defined in /etc/sudoers.
### Automatically added by update-sudoers start ###
user ALL = NOPASSWD: /etc/init.d/ke-recv start
user ALL = NOPASSWD: /etc/init.d/ke-recv stop
user ALL = NOPASSWD: /etc/init.d/alarmd start
user ALL = NOPASSWD: /etc/init.d/alarmd stop
user ALL = NOPASSWD: /etc/init.d/osso-hss start
user ALL = NOPASSWD: /etc/init.d/osso-hss stop
user ALL = NOPASSWD: /usr/bin/osso-product-info
user ALL = NOPASSWD: /bin/rm -f /tmp/.opi.tmp
### Automatically added by update-sudoers end ###
In OS2007, the root user was “protected” by a simple password “rootme”. It wouldn’t cause much problem until you install ssh server in it. The password of user “user” is locked. You can change it by “su” as root and change the password of user by “passwd user“. However, things changed in OS2008. They locked both the password of “root” and “user”. You can’t login root with “su” anymore.
It is said that you can use switch it to R&D mode or install a package becomeroot to get back your root again. I have no idea about R&D mode but found the becomeroot. Here is the procedure (Beware that the following step will introduce security risk to your tablet, make sure you know what you are doing and pick good passwords):
- Open the web browser (MicroB browser)
- Download the becomeroot package with the web browser, choose “Open” to install it.
- After that you can login the root by typing the following command in the XTerm:
sudo gainroot
- Now you can change the password of “user” and “root” with “
passwd user” and “passwd root“.
Warnning: Notice you again that the above action may allow people to take the control your tablet from wireless network. Choose good passwords for the both account.
Share It: