lmacken / pyrasite

Inject code into running Python processes
http://pyrasite.com
GNU General Public License v3.0
2.8k stars 219 forks source link

Cannot use pyrasite-shell as root (if target is non-root) #139

Open luke-jr opened 3 years ago

luke-jr commented 3 years ago

If the target application is running as non-root, attempting to attach to it as root yields a Permission denied error in the target, and pyrasite-shell just hangs.

Maybe the best approach is to setuid to the target uid at startup?

user202729 commented 3 years ago

Duplicate of #71 .