method

su

v2_1_10 - Show latest stable - Class: WEBrick::Utils
su(user)
private

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