Ez volt a hiba: This: if (getuid() == 0 || geteuid != 0) Should have been this: if (getuid() == 0 || geteuid() != 0) Most azert nem vagyok poengyilkos, ugye?