/* $Id: setuid.c,v 1.1 2005/02/16 20:33:37 starfish Exp $ */ /* Set the user id and group for the CGI program to access the data */ #include #include int main() { setuid(BBSUID); setgid(BBSGID); return execl(WEBHOME "/" PROG, NULL); }