View Single Post
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#8
Oops, looks like I missed to hit the refresh button. :embarassed: (had that open since the morning and wanted to write this answer but did not find time during carneval )

Originally Posted by Saturn View Post
... If you allow me to suggest a small improvement; instead of giving more rights to nemo (which is kind of a security leak), you could give only to the script the elevated rights.
Second that.
... split all the sudo actions into a second script and call it from inside your main script that is executed as user.
Even better.

Never do (smells like sudser package on N900):
Originally Posted by kskoda View Post
Code:
nemo ALL=(ALL) NOPASSWD: ALL
But maybe
Code:
nemo ALL=(ALL) NOPASSWD: /usr/share/call-log/callLog.sh
possibly add a "*" at the end for parameters to pass.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2015-02-15 at 19:07.
 

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