[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Idle Person in Telnet
- Subject: Re: [cobalt-users] Idle Person in Telnet
- From: Jeff Lasman <jblists@xxxxxxxxxxxxx>
- Date: Fri May 19 02:42:06 2000
- Organization: nobaloney.net
Mike Fritsch wrote:
> I have a user who sits idle in telnet, is there anyway I can log the user
> off?
First, unless he's got a good reason to use telnet, I'd disable it for
him. In fact I'd disable telnet period <smile>.
Second, you can force him off by killing his bash process.
I haven't done this in a while, but I think you can do it this way:
# ps aux | grep username | grep bash
(where username is the name he logs in through)
Then:
# kill ###
where ### is the number in the first column returned by the above
command.
Don't try this until someone else verifies it though <smile>. It's
late, and I could be making a mistake <smile>.
Jeff
--
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA 92517
voice: (909) 787-8589 * fax: (909) 782-0205