To clarify... What I meant is app *itself* need no root. ofcourse user still need to pass root password to libssh to execute commands...
On Sunday 12 January 2014 14.11.55 Mikael Hermansson wrote: > On Sunday 12 January 2014 11.21.56 Filip Kłębczyk wrote: > > So what would be the proper way of creating such app? Can someone from > > Jolla - Thomas or anyone there who feels competent in this area suggest > > the proper way of handling such use case. That could really help to > > mitigate some of the problems that non-tech users approach every day and > > make their overall experience with Jolla phone better. > > > > Regards, > > Filip > > Reminds me about what I read yesterday libssh is actually a solution for > above problem. The used only had to enable developermode so that sshd is > installed. > > Then your app (who also install libssh library) just login via libssh > locally on the jolla and execute commands. Kind of a backdoor because that > way your app itself does not need root but in the same time you have full > access doing everything in runtime... > :S > > more info here: > > http://www.libssh.org/2014/01/08/libssh-0-6-0/ > > > _______________________________________________ > > SailfishOS.org Devel mailing list -- Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
_______________________________________________ SailfishOS.org Devel mailing list