Kick A Linux User Who’s Logged In
Filed Under
Linux at 1st September 2010 0:01 by
Danny
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:
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
About Danny
I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog.
Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise.
Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school.
View all posts by Danny →
This entry was posted in
Linux and tagged
Linux,
logoff,
pkill,
ssh. Bookmark the
permalink.