method

su

v1_9_3_125 - Show latest stable - Class: WEBrick::Utils
su(user)
public

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