How to stop all processes of a single user
To 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.