Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    How to gain root privileges on N9?

    Reply
    Page 2 of 2 | Prev |   1   2 |
    Manatus | # 11 | 2011-10-28, 07:40 | Report

    Nokia designed Harmattan thinking that it will be the next major platform for them and they had to be serious about it. I think aegis-thing is mostly done to comply with common requirements from companies to have easily and securely wiped phones, and to protect users from malicious software.

    You can see with mount command that they are using aegisfs filesystem for directories containing sensitive user data. I assume this is encrypted filesystem.
    Can someone confirm that it has encryption? If it has, we probably don't need to take care of encrypting stuff by ourselves.

    EDIT: It is possible that aegisfs gets enabled only when you start using MfE account, depending on Exchange server policies. It'd be nice to know more about when and generally what data gets encrypted.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Manatus; 2011-10-28 at 07:45.
    The Following User Says Thank You to Manatus For This Useful Post:
    Wikiwide

     
    MaikEF | # 12 | 2011-11-05, 16:46 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by MaikEF; 2011-11-05 at 18:33.
    The Following User Says Thank You to MaikEF For This Useful Post:
    ste-phan

     
    shmerl | # 13 | 2011-11-05, 23:38 | Report

    As was discussed already, opening root ssh access is not a good idea. Use regular "user" user for ssh access, and gain root rights with devel-su.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to shmerl For This Useful Post:
    Wikiwide

     
    babraq | # 14 | 2011-11-06, 11:14 | Report

    Originally Posted by MaikEF View Post
    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

    <SNIP>
    I had root login via SSH permitted already on N9 after activating developer mode.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to babraq For This Useful Post:
    Wikiwide

     
    MaikEF | # 15 | 2011-11-06, 11:22 | Report

    Originally Posted by babraq View Post
    I had root login via SSH permitted already on N9 after activating developer mode.
    in WinSCP/Putty?
    Whats the Username in WinSCP/Putty to work with Rootprivileges?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    F2thaK | # 16 | 2011-11-06, 11:53 | Report

    Originally Posted by babraq View Post
    I had root login via SSH permitted already on N9 after activating developer mode.
    the latest update for SSH disables root logins

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to F2thaK For This Useful Post:
    Wikiwide

     
    admiral0 | # 17 | 2011-11-06, 12:22 | Report

    lrn2ssh winnabs.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by admiral0; 2011-11-06 at 12:22. Reason: trolololololololol

     
    babraq | # 18 | 2011-11-06, 13:44 | Report

    Originally Posted by MaikEF View Post
    in WinSCP/Putty?
    Whats the Username in WinSCP/Putty to work with Rootprivileges?
    You're not getting it.

    SSH consist of two parts -- server and client. You are always connecting from client to server. On N9 is running server on which you can connect from your PC with WinSCP/Putty or other client.

    First you need to change password for default user on N9. Open terminal and type "devel-su", when prompted for password, type "rootme". Then you have local root shell access. Now, type "passwd user", which will change password for default user. Type anything you want to be your password. Now, logout -- press Ctrl-D or type "logout".

    Now, on your PC start Putty and try connecting to your phone with proper IP address as user named "user". When you are asked for password, type whatever you typed before, when you were changing password. Now, you should be successfully logged to your phone. If you want root privilegies, just type "devel-su" and password is again "rootme".

    It's not neccessary, but advised you will change password for root too.

    I hope, you'll find this little guide helpful.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    babraq | # 19 | 2011-11-06, 13:55 | Report

    Originally Posted by F2thaK View Post
    the latest update for SSH disables root logins
    When was it? After latest update to openssh-server I was still able to connect as root. Hmmmm. Obviously, reboot is needed to restart server. Tested it just now, you were right.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    blakkpanter | # 20 | 2011-12-13, 00:06 | Report

    I changed the user password, developer password and root password, and can log in under root through ssh

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to blakkpanter For This Useful Post:
    jalyst, Wikiwide

     
    Page 2 of 2 | Prev |   1   2 |
vBulletin® Version 3.8.8
Normal Logout