Kick A Linux User Who’s Logged In
Filed Under
Linux at 1st September 2010 0:01 by
DannyIn 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:
pkill -KILL -u danny
where danny is the username. If ‘danny’ was logged in multiple times e.g locally and via ssh then both will be logged off.
Linux logout user or logoff user commands
Related posts:
- Setting Default Linux Shell
- GNU Screen In Linux
- Mount ISO File In Linux
- Lewis’s Birthday
- 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
Linux,
logoff,
pkill,
ssh. Bookmark the
permalink.
Leave a Reply