How to stop all processes of a single user
How to stop all processes of a single user?
Use the killall command and specify the user to stop all processes for that particular user.
killall --user USERTo stop all processes of a single user, the kill command can be used. An easier alternative is using killall with the --user option, followed by the user name.
Example:
killall -u michael
This command, with the shortened option, will send by default the SIGTERM signal to the process. By using the --signal option, another process signal can be provided.