bool posix_setuid ( int $uid )
Set the real user ID of the current process. This is a privileged function that needs appropriate privileges (usually root) on the system to be able to perform this function.
Returns TRUE on success or FALSE on failure.