class Process
- Process
- Reference
- Object
Defined in:
process.crClass Method Summary
-
.become(user : System::User, group : System::Group) : Nil
Sets the real, effective, and saved
User
andGroup
to the ones specified. - .become(uid : UInt32, gid : UInt32) : Nil
-
.effective_group : System::Group
Returns the current process's effective
Group
. -
.effective_user : System::User
Returns the current process's effective
User
. - .gid=(gid : UInt32) : Nil
-
.group : System::Group
Returns the current process's
Group
. -
.group=(group : System::Group) : Nil
Sets the real, effective, and saved
Group
to the one specified. -
.root? : Bool
Returns a
Bool
indicating if the current process is running as root. -
.saved_group : System::Group
Returns the current process's saved
Group
. -
.saved_user : System::User
Returns the current process's saved
User
. - .uid=(uid : UInt32) : Nil
-
.user : System::User
Returns the current process's
User
. -
.user=(user : System::User) : Nil
Sets the real, effective, and saved
User
to the one specified.
Class Method Detail
Sets the real, effective, and saved User
and Group
to the ones specified.
Sets the real, effective, and saved Group
to the one specified.
Returns the current process's saved Group
.
Note: Not all Unix and Unix deriviatives support a saved Group
.
Returns the current process's saved User
.
Note: Not all Unix and Unix deriviatives support a saved User
.
Sets the real, effective, and saved User
to the one specified.