Closed Thread
Thread Tools
Posts: 5 | Thanked: 2 times | Joined on Nov 2009
#1
Hello,

Can anyone explain how to become a root on my n900?

I did try:

edit /etc/gainroot - no permission.
ssh root@localhost - no ssh
sudo su - - password required (I do not have password)
passwd user - user password can not be changed
...

Last edited by chemist; 2010-08-30 at 08:12.
 
Marshall Banana's Avatar
Posts: 94 | Thanked: 209 times | Joined on Oct 2009 @ Germany
#2
Hi,

i think you have to install this first:
Rootsh

and/or do: sudo gainroot

Last edited by Marshall Banana; 2009-11-03 at 14:51.
 

The Following 4 Users Say Thank You to Marshall Banana For This Useful Post:
Posts: 329 | Thanked: 142 times | Joined on Oct 2009
#3
Isn't rootsh pre-installed? Or are we talking about the emulator?
__________________
I don't mean to crush your hopes, I just can't help it
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#4
Originally Posted by MrGrim View Post
Isn't rootsh pre-installed?
No. X Terminal comes installed. rootsh requires a simple installation via the Application manager.
__________________
maemo.org profile
 

The Following 2 Users Say Thank You to sjgadsby For This Useful Post:
Posts: 49 | Thanked: 64 times | Joined on Apr 2007 @ Victoria, BC, Canada
#5
enable RD mode by using the flasher available here:

http://maemo.org/news/announcements/...ablo_released/

then to become root you can type:

Code:
sudo gainroot
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#6
Originally Posted by mikemorrison View Post
enable RD mode by using the flasher available here:
No. You want rootsh.

R&D mode has additional performance and stability consequences that most users do not want. Please don't recommend it.
__________________
Ryan Abel
 

The Following 8 Users Say Thank You to GeneralAntilles For This Useful Post:
Posts: 176 | Thanked: 56 times | Joined on Oct 2009
#7
If you "sudo su" on a normal Unix box the password expected is your user accounts password.

Normally your account must be listed in /etc/sudoers

You also should be able to run programs as root by placing sudo before the name of the program.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#8
If you install the openssh packages from the repositories, you can use the ssh root@localhost technique as well...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 323 | Thanked: 180 times | Joined on Oct 2009 @ Gent, Belgium
#9
I installed the 'rootsh' package but when executing the 'sudo gainroot' command in the xterm, in the 'device' screen, I'm getting :
Code:
'sudo: must be setuid root'
when I do in Scratchbox a 'ls -l /usr/bin/sudo' I'm getting this:

Code:
-rwsr-xr-x 2 maemo maemo 84212 2009-04-17 /usr/bin/sudo
shouldn't this be owned by root/root in a normal Linux install ? But this is under Scratchbox, already an emulated install...

anyway, I removed rootsh and reinstalled : same issue.
BTW, the package I'm installing has version 1.5.

the syntax 'rootsh <any single command>' seems to work, the rootsh shell script is created in the /usr/sbin directory but actually it doesn't have root powers either.

Is this supposed to work at all in the SDK ?
Thanks.
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#10
use fakeroot in scratchbox
 

The Following User Says Thank You to mikkov For This Useful Post:
Closed Thread


 
Forum Jump


All times are GMT. The time now is 20:17.