Kick A Linux User Who’s Logged In

In command line type in who or w will list all the users who are currently logged in.

To log them off type in the following:
-KILL -u danny

where danny is the username. If ‘danny’ was logged in multiple times e.g locally and via then both will be logged off.

Linux logout user or logoff user commands

Related posts:

  1. Setting Default Linux Shell
  2. GNU Screen In Linux
  3. Mount ISO File In Linux
  4. Lewis’s Birthday
  5. Enabling Remote Access To MySQL

About Danny

Young I.T software professional always studying and applying the knowledge gained and one way to do this is blogging. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny is now in the industry that he has aimed since leaving school. View all posts by Danny → This entry was posted in Linux and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *.

*

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.