[Lazarus] root privileg

md at rpzdesign.com md at rpzdesign.com
Wed Jun 4 17:32:46 CEST 2014


You want to use a lightweight UDP packet above 1024 instead of PING to
accomplish the same mission.

You need to have something on the other side to ACK your UDP "PING"

md

On 6/4/2014 11:19 AM, Michael Van Canneyt wrote:
> 
> 
> On Wed, 4 Jun 2014, Reinier Olislagers wrote:
> 
>> On 04/06/2014 17:11, Michael Van Canneyt wrote:
>>>
>>>
>>> On Wed, 4 Jun 2014, Reinier Olislagers wrote:
>>>
>>>> On 04/06/2014 16:54, Michael Van Canneyt wrote:
>>>> Why do you need root to ping?
>>>
>>> All ports less than 1024 are only usable by the root user.
>>
>> By defautl, perhaps. See the rest of my post.
>>
>> Otherwise, how do you explain this (Debian):
>> pascaldev at debianlaz:~/papertiger$ whoami
>> pascaldev
>> pascaldev at debianlaz:~/papertiger$ ping www.freepascal.org
>> PING www.freepascal.org (81.82.199.218) 56(84) bytes of data.
>> 64 bytes from d5152C7DA.static.telenet.be (81.82.199.218): icmp_seq=1
>> ttl=51 time=21.5 ms
> 
> Ts ts ts
> 
> home: >which ping
> /bin/ping
> home: >ls -l /bin/ping
> -rwsr-xr-x 1 root root 35712 Nov  8  2011 /bin/ping*
> 
> ping is setuid root.
> 
> Michael.
> 
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> 




More information about the Lazarus mailing list