Killing Users/ Ending sessions
To kill a user
- w
- This will list all logged in users
- It will look like the image below

- We want to pay attention to three columns on the screen above. The user column, Tty and What.
- User - who is logged in
- Tty - Their unique identifying number (This is what we will use to end their session)
- What - This is the program the user is logged into. Specific programs will block certain programs the computer room runs. (See other documentation on who/what will block programs the computer room runs)
- Look in the What column to identify who is blocking your program.
- Then type the following command
- ps -t ttyp#
- Where the # is above, you will want to type the corresponding value to the user you want to kill. So lets say we want to wbowdrie above. We would want to type
- ps -t ttyp4

- after we hit enter, the following screen will appear. We will start the next command with
- kill -9 ...
- instead of the ... we will type the values that are to the left of the SH values.
- so in the same order as above, the command would go as follows
- kill -9 26394 26412 26413
- Once you hit enter, this will end their TinyTerm session.
I hope you don't stay blocked for long.