As root, you find and kill the login process (the one listed as the user's
shell). That's typically a bash shell. So, as root, do the equivalent of the
following:
1. Run "ps aux | grep homer"
2. In the output, look for the lowest numbered bash process.
3. Run "kill -9 pid", replacing "pid" with the number you found in step 2.
This should log homer out.
You can do this in one step by way of a slightly more complicated pipe, but
I prefer to do it this way so I can see what is going on. You also can try
to track down and kill the telnetd process involved, but that's a bit
harder, since it doesn't run under homer's userid.
You should worry about it, at least a little bit. It is always a security
hole, and it can be a serious one in some situations.
At 08:36 PM 3/27/00 -0500, Liz Dunbar wrote:
>I have several users who forget to logout, as in "who" lists them logged in
>a week or two ago and perhaps more than once. (They login via telnet to use
>Pine - at least I've convinced them to quit Pine and clean out their
>mailboxes once in awhile.)
>
>Aside from sending them notes to remember to logout, how can I log them out
>when they don't do it themselves? or is this a not to worry about.
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
Palo Alto, CA [EMAIL PROTECTED]
----------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs