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? You could set up sudo to allow regular/specific users to ping; perhaps there's something with this new-fangled capabilities thing etc. -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus