LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I force other users to log out? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-force-other-users-to-log-out-143173/)

WarrenWright 02-06-2004 09:00 PM

How can I force other users to log out?
 
I've been using the PuTTY client to administer my linux desktop from around the house (on my wife's wireless laptop) a lot lately.

Yesterday I noticed from a "users" command that there are about 5 old logons still sitting around logged in. A couple are root, a couple are my logon, and one is a 3rd logon we have in the system.

How can I force those users to exit/logout?

Are they left hanging around because I had been typing "exit" to leave PuTTY, or maybe from shutting PuTTY down without even typing exit?

I've looked through the man pages quite a lot now, and done various apropos searches, but with no luck finding the right administrative command.

Thanks,

Warren

synaptical 02-06-2004 10:11 PM

you probably will have to kill the process ID (PID) manually for each one you can identify.

Kristijan 02-06-2004 11:27 PM

What I usually do is 'ps aux | grep bash' and kill the user's bash session.


All times are GMT -5. The time now is 06:16 AM.