[Mono-list] setuid behavior?

Ian Norton inorton at gmail.com
Fri Sep 13 05:55:26 UTC 2013


On 12 September 2013 14:21, mickeyf <mickey at thesweetoasis.com> wrote:

>
> My app also accesses a library written in c which uses a socket to read
> canbus messages. On startup it tries a "ip link set blah blah..."
>

I'd be tempted to make a helper process that you can invoke via sudo (and
set an appropriate sudo NOPASSWD rule)

If this were C I'd fork and do the sudo bits in the child, but you can't do
that on mono.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130913/2699a8fc/attachment.html>


More information about the Mono-list mailing list