[Lazarus] root privileg

Reinier Olislagers reinierolislagers at gmail.com
Wed Jun 4 17:01:34 CEST 2014


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.




More information about the Lazarus mailing list