[Mono-list] setuid behavior?
inorton at gmail.com
Fri Sep 13 05:51:52 UTC 2013
For setuid on the program to work you'd have to setuid mono itself.
Depending on your deployment scenario you could mkbundle your program and
setuid the result.
On 11 September 2013 23:32, mickeyf <mickey at thesweetoasis.com> wrote:
> I have an application that uses a udp socket. If I run it "sudo mono
> myapp.exe" it works fine. If I leave off the sudo it fails when attempting
> to bind the socket - this is not a surprise.
> However, when change the owner to root and setuid on myapp.exe, it still
> Is this what I should expect, and what is the preferred way to run this
> without actually being root?
> View this message in context:
> Sent from the Mono - General mailing list archive at Nabble.com.
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list