void main(int argc, char* argv){ setuid(0); system("/usr/local/nagios/libexec/check_db2"); }