Xfce Forum

Sub domains

You are not logged in.

#1 2014-01-13 09:04:41

Registered: 2012-11-27
Posts: 7

sudo icon shortcut fail?

For security it is wise to have secure files and apps as a separate user to your browser. That way any closed source browser extensions you have don't have access to your bitcoin wallet for example.

I use /etc/sudoers.d/example:

insecureUser ALL = (secureUser) NOPASSWD: /usr/bin/privateApp

...and then run it using

sudo -u secureUser /usr/bin/privateApp

But trying to make an icon shortcut to sudo -u secureUser /usr/bin/privateApp doesn't work unless I check the box "run in a terminal". Why? Is this a bug? Is there a way round it, maybe even a workaround to prevent terminals being open everywhere?

Last edited by jago25_98 (2014-01-13 09:05:05)


#2 2014-01-14 03:17:12

From: Camarillo, CA
Registered: 2011-03-30
Posts: 423

Re: sudo icon shortcut fail?

You need to remember that sudo is a text app, so it needs a terminal.  What you want to use is a GUI version of sudo/su.  Many distros use gksudo, although Fedora (which I use) prefers beesu.

Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.


Board footer

Powered by FluxBB