Tuesday, August 31, 2010

How to kick off specific user from your linux box

1. first we need to list down all users logged in on your linux box, type w on your shell prompt. It will give you list of all users logged in on that linux box.


user@machine$ w


2. Next kill the process identified by files or sockets.


user@machine$ sudo fuser -k /dev/pts/<pts no>

No comments:

Post a Comment