Some more methods for the internal Prompt and Request classes
Check return value of setgid and setuid