If -uid is set, we fork a child process with the uid, the gid and the supplimentary gids for that user.