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 |
you probably will have to kill the process ID (PID) manually for each one you can identify.
|
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. |