View Single Post
Posts: 36 | Thanked: 28 times | Joined on Jul 2011 @ Germany
#12
Originally Posted by visiting01 View Post
How to gain root privileges on N9?

I have turned developer mode on and I can access a terminal.

(Sorry if this question has been responded already.)

at 1st: sorry for my bad english :-)

to be root you must in file /etc/ssh/sshd_config the entry
PermitRootLogin no change to PermitRootLogin yes

thats the things i´ve done to go root like n900:

1.) activate developer-mode in phone -> settings -> security
2.) login in terminal as user: ´devel-su´, Password= ´rootme´
3.) keep own user-password: ´passwd user´
4.) open winscp with ´user´ and your own user-password
5.) in winscp open terminal (STRG/CTR+T) and type ´cp /etc/ssh/sshd_config /home/user/´
6.) now you can in change and save the file
7.) take N9 in your hand and open terminal -> ´devel-su´, Password= ´rootme´ and type ´cp /home/user/sshd_config /etc/ssh/sshd_config´
8.) then type ´pkill -o sshd´ or just reboot, and you should be have full root-privileges and you can login as root.

hope this help you.

Last edited by MaikEF; 2011-11-05 at 18:33.
 

The Following User Says Thank You to MaikEF For This Useful Post: