View Single Post
Halftux's Avatar
Posts: 878 | Thanked: 2,535 times | Joined on Feb 2012 @ Germany
#152
Originally Posted by Malakai View Post
Thanks for the info.
No problem.

Originally Posted by Malakai View Post
So I suppose that I can't add that command into a sudoers file so that a password won't be asked (meaning the command will be executed properly) when Catorise Plus tries to refresh the menu.
As far as I know this is not possible.

Originally Posted by Malakai View Post
Now a password is asked when executing the root command, and I prefer it that way.
I am with you.

Originally Posted by Malakai View Post
If there is no easy way to achieve what I want I will just have to manually execute "sudo /opt/catorise/catorise" after making the changes in Catorise Plus GUI (not that often) and saving them (it seems to work this way, but it is not "ideal").
You need to change the source code. There you have several options. But which one is secure?

If you would like to use the sudoers file you could point in the source to a script which you put in the sudoers file or start catorise as root.

Btw there is another root command when you make a new category.
Some picture will be copied.
 

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