View Single Post
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#6
Originally Posted by kskoda View Post
Just uploaded version 0.3, in which contact names, mobile type and phone number are shown.
Unfortunately, this version needs sudo command/package installed because Contacts database needs privileged user. I downloaded mine from OpenRepos at https://openrepos.net/content/nieldk/sudo

After installation of "sudo", we need to add "nemo" to privileged user in /etc/sudoers with "visudo" command:
Code:
nemo ALL=(ALL) NOPASSWD: ALL
This is very good work and thanks for sharing.

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.
I didn't look too much into your script, but maybe you'll need to split all the sudo actions into a second script and call it from inside your main script that is executed as user.
 

The Following 3 Users Say Thank You to Saturn For This Useful Post: