Dear I need to detect if the program is executed as root privileges on Linux system. Did somebody had developped a such function ?? Best regards. -- David Touzeau -------------------------- Linux Ubuntu Dapper 6.0.6 FreePascal-Lazarus,perl,delphi,php icq:160018849