Xfce Forum

Sub domains
 

You are not logged in.

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

jago25_98
Member
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)

Offline

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

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

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.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 516.92 KiB (Peak: 524.73 KiB) ]