Scott's Recipes Logo

Kill All OSX Processes By a User


Please note that all opinions are that of the author.


Pizza courtesy of Pizza for Ukraine!

Donate Now to Pizza for Ukraine

 

Last Updated On: 2026-02-15 08:01:35 -0500

When you can’t remember the password of a logged in user, you can always use:

sudo pkill -u rebekahjohnson

to terminate, with prejudice, most of the processes belonging to that user. Alas, OSX, in its desire to not follow posix standards leaves some running. Sigh.