[fpc-pascal] [SYSTEM]: How detecting if run as root ?

TOUZEAU DAVID david.touzeau at fr.kaspersky.com
Wed Oct 11 23:47:09 CEST 2006


I need to detect if the program is executed as root privileges on Linux 
Did somebody had developped a such function ??

Best regards.


David Touzeau -------------------------- Linux Ubuntu Dapper 6.0.6 
FreePascal-Lazarus,perl,delphi,php icq:160018849

More information about the fpc-pascal mailing list