Re: [Vala] Process spawn not working when the Terminal is not opened



On Fri, May 3, 2013 at 11:48 AM, Christian Capasso <capasso912 gmail com> wrote:
If I need root's permissions, for example when it comes to the format, or
to the umount, what should I do? Should I use Process.spawn or not?

I don't know the scope of your application, but have you looked at
polkit? (http://www.freedesktop.org/wiki/Software/polkit)

And more specifically pkexec?
(http://www.freedesktop.org/software/polkit/docs/latest/pkexec.1.html)

SMF


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]