Why does the process continue to run?

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?

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?

A.
You can kill a process only if you are root.

B.
You can kill only a process that you own.

C.
You can kill the process only with the pkill command.

D.
You need to kill the process with a stronger kill signal.

Explanation:
kill -9
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.
Reference: Solaris Common Desktop Environment: User’s Guide, Sending Kill Signals to a
Process



Leave a Reply 2

Your email address will not be published. Required fields are marked *