FG

How to kill a process started with a different user without being root or sudoer?

Fresh3 days ago
Mar 15, 202661301 views
Confidence Score0%
0%

Problem

in a Linux environment, I need to kill a process which has been started by user2 if I am user1 without being sudoers or using root. Do you know if there is a way of setting that when launching the process? Such as a list of users allowed to kill the process? The fact is that concurrent instances of…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to kill a process started with a different user without being root or sudoer?

Low Risk

I'm sorry, but this simply is not possible (that's by design). However, if members of a common group, user1 could write to a file that user2's process checks, indicating to the process that it should terminate. Or, user2 could run something in the b…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment