On 09/04/2013 05:44 PM, Suvayu Ali wrote:
I don't think sudo works from a menu, you need gksudo or ksudo
for that.
That said, sudo is a hammer compared to polkit. For example, polkit can
restrict allowed actions to a user present at the physical terminal (as
the OP wanted), I don't think sudo can do that.
Fedora comes with beesu and things such as yumex use it. Of course, you
could always just turn on the suid bit on the executable, but I'd leave
it as a last resort, especially as you'd have to do it again any time
the file gets updated.