The Process::UID module contains a collection of module functions which can be used to portably get, set, and switch the current process's real, effective, and saved user IDs.
Process::UID
Process::UID.grant_privilege(user) â fixnumProcess::UID.eid= user â fixnum Class Public methods
Process::UID.switch â fixnumProcess::UID.switch {|| block} â object Class Public methods
Process.euid â fixnumProcess::UID.eid â fixnumProcess::Sys.geteuid â fixnum Class
Process.uid â fixnumProcess::UID.rid â fixnumProcess::Sys.getuid â fixnum Class Public
Process::UID.change_privilege(user) â fixnum Class Public methods Change
Process::UID.re_exchange â fixnum Class Public methods Exchange real and
from_name(p1) Class Public methods
Process::UID.re_exchangeable? â true or false Class Public methods Returns
Process::UID.sid_available? â true or false Class Public methods Returns