Problem 6: Unix access control In Unix, every process has a real user id (ruid), an effective user id (euid), and a saved user id (suid). Processes with an euid of 0 have special root privileges. a....


Problem 6: Unix access control<br>In Unix, every process has a real user id (ruid), an effective user id (euid), and a saved user id<br>(suid). Processes with an euid of 0 have special root privileges.<br>a. If a process with user id n forks to create another process, what user id does the new<br>process have? (Hint: it's the same answer for euid, ruid, and suid.)<br>b. If a process with euid n makes a setuid system call, what possible euids can the<br>process run with after the call, in each of the following situations:<br>a. Before: euid = n > 0, saved user id suid=m and real user id ruid = m. After:?<br>b. Before: n=0 After:?<br>c. In qmail, most modules run under separate user ids. Similarly, each Android<br>application runs in a separate process using a separate user id. From a security<br>standpoint, what is the advantage of assigning separate uids instead of using the<br>same uid for all? Explain.<br>d. Why should the separate uids be non-zero?<br>

Extracted text: Problem 6: Unix access control In Unix, every process has a real user id (ruid), an effective user id (euid), and a saved user id (suid). Processes with an euid of 0 have special root privileges. a. If a process with user id n forks to create another process, what user id does the new process have? (Hint: it's the same answer for euid, ruid, and suid.) b. If a process with euid n makes a setuid system call, what possible euids can the process run with after the call, in each of the following situations: a. Before: euid = n > 0, saved user id suid=m and real user id ruid = m. After:? b. Before: n=0 After:? c. In qmail, most modules run under separate user ids. Similarly, each Android application runs in a separate process using a separate user id. From a security standpoint, what is the advantage of assigning separate uids instead of using the same uid for all? Explain. d. Why should the separate uids be non-zero?

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here