[fpc-pascal] How to detect if my program is running with root/elevated privileges?

Bart bartjunk64 at gmail.com
Mon Oct 28 16:53:52 CET 2013


On 10/28/13, Mark Morgan Lloyd <markMLl.fpc-pascal at telemetry.co.uk> wrote:

>>> For windows there is winutils.iswindowsadmin(), for unix likes there is
>>> fpgeteuid (which should return zero for root).
>>
>
> Also remember unix-style capabilities.
>

Care to elaborate on that?

Bart



More information about the fpc-pascal mailing list