![]() |
Best Root Method
I just got my N810 and want to upgrade the OS but also been reading up on programs requiring root mode.
So far there is a bunch of programs that will give you root, then there is the R&D mode with flash. I am wondering which is the best method? Doing --enable-rd or using an external program? Thank in advance. |
Re: Best Root Method
Easiest imo is installing OpenSSH - you get a prompt asking you to enter a root password.
Do that, login as root, add user to sudoers with associated password, remove root password, remove root user, then use "sudo su -" to gain root shell as user. |
Re: Best Root Method
I wouldn't call that "easiest". It may be the most useful for you, but for your average user both easyroot and becomeroot are a case of:
1) Install. 2) Type 'sudo gainroot' easyroot even allows the second step to just be "root". The question of which is "best" depends on what nibag's trying to do (which, without more information, we can't really address) |
Re: Best Root Method
It make it easier to type type the follow:
Open a Terminal: Code:
$ echo sudo gainroot > rtCode:
$ sudo gainrootCode:
# chmod +x rtCode:
# mv rt /bin/Code:
$ rtQuote:
|
Re: Best Root Method
BOFH thats an excellent tip.
What he is doing is copying the contents of gainroot to rt, becoming root in order to give root permissions to the executable flag of the rt file, then moving it into your $PATH, thats where it auto looks for apps. I just posted an updated for OS2008 howto be root on my blog. I don't normally point there.. but its easier than repeating the instructions here. |
Re: Best Root Method
You do know that to have BOFH's tip working, you need easyroot or becomeroot installed first?
Also I thought #!/bin/sh was meant to be the first line. Not sure on this one though. Sorry for sounding like a knob in this post. |
Re: Best Root Method
Yes I realize he needs becomeroot installed already, its still a good tip for a quick way of running the script.
|
Re: Best Root Method
An alias is better, IMHO:
Code:
alias rt='sudo gainroot'Code:
echo "alias rt='sudo gainroot'" >> ~/.profile |
Re: Best Root Method
Quote:
-sh: rt: not found Is there some prerequisite I missed? Or do the two code strings need to be entered in the opposite order? Here's a copy of what I did in Xterm: /home/user # alias rt='sudo gainroot' /home/user # echo "alias rt='sudo gainroot'" >> ~/.profiile /home/user # exit ~ $ rt -sh: rt: not found |
Re: Best Root Method
Well what i want to do is have root for the future to run apps and hack my 810.
just that there was so much different ways and are those any different from enabling rd mode via flash? |
| All times are GMT. The time now is 09:39. |
vBulletin® Version 3.8.8