How to kill all process of one user?
When I make
ps aux I obtain a list of process with several users, and I want to kill all process of user
name1 for example! What's a command to do that in Ubuntu?
In this case, it's pretty simple, you can use
Adding another option because nobody has mentioned it, and I don't like
aptitude install slay
Be aware that if you kill off stuff for users you don't know the purpose for, you may render your machine unusable (until you restart).
If you really don't want to install slay:
(wait a bit)
Identify the user, then
They will have a bash (or similar) process associated with their login session killing that will kill their session.
To get a potentially better overview of what a user is doing - try
Hope this helps, Dave