Skip navigation.
Home
Now Shipping Version 7.0

How to run program who required sudo privilege using gnome interface


Posts: 2

Hi,

I've installed gnome instead of KDE after the operation all is fine except that all program that require sudo privileges can't be launched from menu of gnome.
example synaptic from System > Administration > Synaptic Package Manager can't be launched I receive the very clear message :

The underlying authorization mechanism (sudo) does not allow you to run this program. Contact the system administrator.

This things was running good under KDE, what can I do to enable running program like these from gnome menu ?

thanks for help

Richard

AdrianTM's picture

edit /etc/sudoers as root,

edit /etc/sudoers as root, add this line:
your_user_name localhost=(ALL) ALL

(where your_user_name is the actual name of your account)

IMPORTANT: start Kuser and remove your account from "Sudo" group, otherwise you will not need to enter the password to execute sudo and your computer would be more vulnerable.
--
Check out Mepis wiki: www.mepis.org/docs

Add KDESU

I've run into the same problem with that and also with a gui for Dansguardian I installed. What I did is add kdesu to the beginning of the command in the shortcut (example: kdesu synaptic) launches synaptic and uses the kdesu command to request the root password.

"Freely you have received, freely give" [Matt 10:8]

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.