Kdesu and sudoers file

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Kdesu and sudoers file

Postby eldiener » Apr 1st, '17, 04:11

In my sudoers file I have an entry:

myusername ALL = NOPASSWD: /home/myusername/bin/myguiprogram

I set up a link to an application on the desktop and specify as the command line:

kdesu /home/myusername/bin/myguiprogram

Yet when I start the application it still asks me for a password before it executes the program. Why ?
eldiener
 
Posts: 57
Joined: Oct 22nd, '12, 01:44

Re: Kdesu and sudoers file

Postby doktor5000 » Apr 1st, '17, 12:17

Because there is no relation between /etc/sudoers and kdesu. kdesu ist just a graphical way to run programs that are intended to be run by another user.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron