Question: Using bash, write seperate functions that return the EGID, RUID, RGID, FSUID, and FSGID of a process when given a user provided pid. An example
Using bash, write seperate functions that return the EGID, RUID, RGID, FSUID, and FSGID of a process when given a user provided pid.
An example for getting the euid is as follows:
function geteuid() { echo $EUID
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
