![]() |
Root vs sudo gainroot
Hi there,
I am trying to root my friend's N900 to install preenv. The following describes the method I used and the problem I faced trying while trying to root the device. 1. I installed the rootsh application on the N900 2. Restarted the phone (don't know if it was necessary but did it anyways) 3. Opened XTerminal, and typed in Code:
sudo gainroot However, if I close and reopen Xterminal, and type in Code:
root I'm quite new to the linux world, but theres a few questions that is on my mind.
I also tried uninstalling rootsh through the app manager but it returned stating that rootsh was unable to uninstall. Any help and explanation is appreciated. Thanx :) __ First thread, and 2nd post in forum :o, I hope I was clear about my query. I've also searched the forums, tried doing a Code:
sudo passwrd root |
Re: Root vs sudo gainroot
Quote:
|
Re: Root vs sudo gainroot
Warning, wild guess ahead: Did you install some other root-enabling package like sudser, open-ssh or other before, so that sudo gets modified somehow to ask for a password?
|
Re: Root vs sudo gainroot
@michaaa62
I probably feel he installed open ssh because that is the only one that asks for a password i think. |
Re: Root vs sudo gainroot
Quote:
|
Re: Root vs sudo gainroot
try sudo su. And sudo gainroot only works when your phone is in RD mode.
|
Re: Root vs sudo gainroot
I'm guessing he has that other root package already installed. I never get sudo gainroot asking for a password.
Either way, only difference is root puts you in the /root directory. You can probably just use "root", then run "passwd root" (without the sudo, since you'd be root already) that way. But I wouldn't be doing that for another person's N900, unless they've made it very clear that they're okay with you doing it. - Edit - "sudo gainroot" works just fine without RD mode. Just installing rootsh enables it. |
Re: Root vs sudo gainroot
Quote:
Quote:
|
Re: Root vs sudo gainroot
Quote:
just out of curiosity,what do you mean by the phone is in RD mode? |
Re: Root vs sudo gainroot
Quote:
|
All times are GMT. The time now is 20:23. |
vBulletin® Version 3.8.8