PHP.nl

posix_seteuid

posix_seteuid

Set the effective UID of the current process

bool **posix_seteuid** int $user_id

Set the effective user ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function.

user_idThe user id.

return.success

posix_geteuid``posix_setuid``posix_getuid