[Lazarus] root privileg

Reinier Olislagers reinierolislagers at gmail.com
Wed Jun 4 17:18:16 CEST 2014


On 04/06/2014 17:19, 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.

Maybe on your machine.
pascaldev at debianlaz:~/papertiger$ which ping
/bin/ping
pascaldev at debianlaz:~/papertiger$ ls -al /bin/ping
-rwxr-xr-x 1 root root 44080 Feb  1 22:18 /bin/ping

Anyway, see my first post.




More information about the Lazarus mailing list