1Z0-821 · Question #11
user1 is attempting to assist user2 with terminating user2's process 1234. user1 entered the following: kill -9 1234 Why does the process continue to run?
The correct answer is B. You can kill only a process that you own. Kill (terminates without cleanup) Only works if issued by process owner or super user (root) The program cannot respond to this signal; it must terminate Note: Unix provides security mechanisms to prevent unauthorized users from killing other processes. Essentially, for a…
Question
user1 is attempting to assist user2 with terminating user2's process 1234. user1 entered the following: kill -9 1234 Why does the process continue to run?
Options
- AYou can kill a process only if you are root.
- BYou can kill only a process that you own.
- CYou can kill the process only with the pkill command.
- DYou need to kill the process with a stronger kill signal.
How the community answered
(25 responses)- A8% (2)
- B76% (19)
- C4% (1)
- D12% (3)
Explanation
Kill (terminates without cleanup) Only works if issued by process owner or super user (root) The program cannot respond to this signal; it must terminate Note: Unix provides security mechanisms to prevent unauthorized users from killing other processes. Essentially, for a process to send a signal to another, the owner of the signaling process must be the same as the owner of the receiving process or be the superuser.
Topics
Community Discussion
No community discussion yet for this question.