[Mono-list] Socket problem

Trimble, Nathan G nathan.trimble at pnl.gov
Wed Jul 12 14:58:40 EDT 2006


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

Nate Trimble

-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Adam Tauno
Williams
Sent: Wednesday, July 12, 2006 11:36 AM
To: mono-list at 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.

awilliam at aleph:~> 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 at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


More information about the Mono-list mailing list