Secure Device (Manually) on Harmattan?
Is there a way (like an easy homescreen icon) to Secure the device?
On the N900, we could press the power button once, to select it over there. The reason is, that I don't want to put in my code every time, so I've set the time to '5 minutes'. But there are moments that I want to lock it immediately, that's where this button will be handy for! |
Re: Secure Device (Manually) on Harmattan?
This could be done via script easily I believe (then add an icon on app menu to trigger it), maybe contacting Schturman to add this function to N9QT would be the ideal solution..
EDIT: Maybe also one could add the function to the power key (hit it twice and it would lock the phone?) |
Re: Secure Device (Manually) on Harmattan?
Quote:
Does anyone know this? |
Re: Secure Device (Manually) on Harmattan?
Run following command with exploited capas:
Quote:
PS. and word of warning: don't play with variables there, just use copy & paste. Since if you change the parameter values, you can for example force secure wipe of the device (without asking any confirmations), and most likely you dont want that :) |
Re: Secure Device (Manually) on Harmattan?
Asked for this on like first week I got my N9.
I hope someone does script. |
Re: Secure Device (Manually) on Harmattan?
Quote:
|
Re: Secure Device (Manually) on Harmattan?
|
Re: Secure Device (Manually) on Harmattan?
I already created icon and it work perfectly... Will be added to the next version of N9QT. Thanks rainisto.
|
Re: Secure Device (Manually) on Harmattan?
rainisto, maybe you know how to/which process we need to restart to get the dbus notification popup windows get to work again ?
Because if we restart this process: Code:
/sbin/initctl restart xsession/devicelockd Thanks |
Re: Secure Device (Manually) on Harmattan?
OK, found it :D
Code:
gconftool-2 --type boolean --set /desktop/meego/notifications/previews_enabled true |
Re: Secure Device (Manually) on Harmattan?
Quote:
Code:
[Desktop Entry] Code:
#!/bin/sh Thanks |
Re: Secure Device (Manually) on Harmattan?
Ok, i got it work after reboot with .conf file... But it take 3-5 min after reboot, harmattan limitation as we know...
Any other ideas ? |
Re: Secure Device (Manually) on Harmattan?
Quote:
Maybe creating a deb package of the script & desktop file, granting the required security token for the script file in the aegis manifest and then incepting the package when activating the tweak? Otherwise you have to depend on and use opensh instead, like in rainisto's example, which may not be the best approach for N9QT as having opensh installed is kind of security risk. Maybe playing with refhashlist, restok, etc. is one option to grant tokens for the script without packaging, but messing them up is a risk too. Don't know about that rebooting and MALF problem you faced, unfortunately. |
Re: Secure Device (Manually) on Harmattan?
Thanks, I already got it work
http://talk.maemo.org/showpost.php?p...postcount=5930 |
All times are GMT. The time now is 15:33. |
vBulletin® Version 3.8.8