Oh yes, sorry I forgot about setuid.  Would it be possible to use setuid
with a Mono program?  Thanks.

Nate Trimble

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Tauno
Williams
Sent: Wednesday, July 12, 2006 11:36 AM
To: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Socket problem

On Wed, 2006-07-12 at 11:35 -0700, Trimble, Nathan G wrote:
> "I may be wrong, but I thought you needed root rights for ICMP. Have
you
> tried running your mono app as root?" 
> This is just for curiosity's sake.  If only root has rights to ICMP,
how
> does ping run under a normal user account?

It doesn't.

[EMAIL PROTECTED]:~> ls -l /bin/ping
-rwsr-xr-x 1 root root 35520 2006-04-22 21:53 /bin/ping
---^

> Could the same method be used under Mono?

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to