LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2004, 09:00 PM   #1
WarrenWright
LQ Newbie
 
Registered: Dec 2003
Location: Dallas
Distribution: Fedora Core 1
Posts: 21

Rep: Reputation: 15
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
 
Old 02-06-2004, 10:11 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
you probably will have to kill the process ID (PID) manually for each one you can identify.
 
Old 02-06-2004, 11:27 PM   #3
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Locked Archive or Installer to force end users to accept a license agreement diven Linux - General 1 05-03-2005 07:45 PM
Remotely Force Logout of other Users? CoolAJ86 Linux - Security 5 04-16-2005 06:51 AM
log file for users rockwell_001 Linux - General 1 06-28-2004 02:04 PM
users cannot log in nongente Mandriva 1 11-17-2003 10:58 AM
Really Why do they force 56 modem users to use Kinternet instead of the well working maximalred Linux - General 0 08-23-2003 05:49 AM


All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration