[Lazarus] root privileg

Michael Van Canneyt michael at freepascal.org
Wed Jun 4 17:11:50 CEST 2014



On Wed, 4 Jun 2014, Reinier Olislagers wrote:

> On 04/06/2014 16:54, Michael Van Canneyt wrote:
>> On Wed, 4 Jun 2014, A. Fortuny wrote:
>>> How to gain temporarily root privileges in a pascal program ? I
>>> need to 'ping' an IP address and for ping to work (Indy 10) I need
>>> to be root.
>
> Why do you need root to ping?

All ports less than 1024 are only usable by the root user.

Michael.




More information about the Lazarus mailing list