Reply
Thread Tools
Posts: 334 | Thanked: 616 times | Joined on Sep 2010
#11
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.

Last edited by Manatus; 2011-10-28 at 07:45.
 

The Following User Says Thank You to Manatus For This Useful 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:
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#13
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.
 

The Following User Says Thank You to shmerl For This Useful Post:
babraq's Avatar
Posts: 95 | Thanked: 166 times | Joined on May 2011
#14
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.
__________________
The best flashlite/torch application(?)

Happy owner of N9, the last Nokia smartphone.
 

The Following User Says Thank You to babraq For This Useful Post:
Posts: 36 | Thanked: 28 times | Joined on Jul 2011 @ Germany
#15
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?
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#16
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
 

The Following User Says Thank You to F2thaK For This Useful Post:
Posts: 279 | Thanked: 293 times | Joined on Oct 2009 @ Italy
#17
lrn2ssh winnabs.

Last edited by admiral0; 2011-11-06 at 12:22. Reason: trolololololololol
 
babraq's Avatar
Posts: 95 | Thanked: 166 times | Joined on May 2011
#18
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.
__________________
The best flashlite/torch application(?)

Happy owner of N9, the last Nokia smartphone.
 
babraq's Avatar
Posts: 95 | Thanked: 166 times | Joined on May 2011
#19
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.
__________________
The best flashlite/torch application(?)

Happy owner of N9, the last Nokia smartphone.
 
Posts: 29 | Thanked: 7 times | Joined on Dec 2011 @ Belgium
#20
I changed the user password, developer password and root password, and can log in under root through ssh
 

The Following 2 Users Say Thank You to blakkpanter For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 03:58.