method

su

su(user)
private

Changes the process’s uid and gid to the ones of user