21 June 2011
How To Force Log Out Other Users On Ubuntu
In this tip, we will see how to use the Terminal to force a user to log out of a Ubuntu host and kill all its running processes as well as its login shells.Launch the Terminal and issue this command:
pkill -KILL -u UserID
Replace "UserID" with the username of the user you want to force its logout.
Note: this tip is also applicable on other Linux-based distributions.







