Question: 2. By convention, the /tmp directory is available to all users who care to create files there. What prevents one user from reading or deleting
2. By convention, the /tmp directory is available to all users who care to create files there. What prevents one user from reading or deleting anothers temporary files?
3. Explain a running processs real UID, and effective UID. What is the purpose of a processs effective UID?
4. Suppose that a user at your site has started a long-running process that is consuming a significant fraction of a machines resources.
a) How would you recognize a process that is hogging resources?
b) Assume that the misbehaving process might be legitimate and doesnt deserve to die. Show the commands you would use to suspend the process temporarily while you investigate
c) Later, you discover that the process belongs to your boss and must continue running. Show the commands youd use to resume the task.
d) Alternatively, assume that the process needs to be killed. What signal would you send, and why? How do you guarantee that the process is killed?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
