[Lazarus] root privileg
A. Fortuny
aforsprl at gmail.com
Wed Jun 4 16:47:49 CEST 2014
Hi Folks.
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.
Usage of another TCP component is not an option.
Another way is to execute a shell and intertpret the results but I'd to
avoid it if possible.
It is on Linux system.
Thanks
---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com
More information about the Lazarus
mailing list