Try the "last" command... It tells you about real logins, and if they're still logged in... Searches wtmp file. run "man last" for more info... If you do who -utH you get more interesting info such as process ID (PID) of the shell. "kill -KILL PID" and they're outa here...
Rick -----Original Message----- From: Stone, Timothy [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 9:34 AM To: Redhat-List (E-mail) Subject: who am i ? Excuse the pun. :) I need help with determining the users logged in, etc. Given this actual example: 1. [tstone@vahalla tstone]$ who -l -H 2. USER LINE LOGIN-TIME FROM 3. tstone pts/0 Jan 21 16:21 4. tstone pts/1 Jan 21 16:21 5. tstone pts/4 Jan 15 15:26 6. tstone pts/2 Jan 21 16:22 7. tstone pts/3 Jan 24 09:29 (10.40.100.80) I'm trying to run down the logins... Line 1 is of course the command the produced the output. Line 2 is the result of the -H switch Line 3-6 are the logins in question. Line 7 is the login that produced the output Looking closely at the four (4) logins associated with Lines 3-6: Lines 4 & 6 are stdin logins (terminals open in konsole) What are lines 3 & 5? As close as I can determine Line 5 is the login associated with restarting the box. But I haven't the faintest clue what Line 3's login is for. Is there a more descriptive tool that points back to the processes or reasons for the logins? Finally, if I find a rogue login, how can I terminate it? Warmest Regards, Tim -- /** * Timothy Stone . Sun Certified Java Programmer * Web Master . tstone at cityofhbg dot com * City of Harrisburg . 717.255.7297 * Pennsylvania USA . 717.903.9162 * * "Censorship always defeats its own purpose, * for it creates in the end the kind of society * that is incapable of exercising real discretion." * --Henry Steele Commager, Historian */ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list