Date: Wed, 10 Jun 1998 18:56:01 -0500 From: "J.A. Terranson" <sysadmin@mfn.org> To: "'don morrison'" <dmorrisn@u.washington.edu>, Min Huang <huang_min@hotmail.com>, "questions@FreeBSD.ORG" <questions@FreeBSD.ORG> Subject: RE: How to kick this user out? Message-ID: <01BD94A2.6B05B1B0@slowbob.mfn.org>
next in thread | raw e-mail | index | archive | help
Actually, you will probably want to write a script to run via cron: this will automate the process of kicking idle users without you having to keep yourr own eyes on it. Most users won't carp to loudly about a 3 hour kick cycle... J.A. Terranson sysadmin@mfn.org -----Original Message----- From: don morrison [SMTP:dmorrisn@u.washington.edu] Sent: Wednesday, June 10, 1998 3:15 AM To: Min Huang; questions@FreeBSD.ORG Subject: Re: How to kick this user out? >when using "who", everythink is ok, but use "w", he's idel and >do nothing. How to kick this user out of my system? Use the 'ps' command (e.g. 'ps -ax') to find the user's process id, then use the 'kill' command on that process to kick the user off the system. A 'kill -9' may be necessary...see 'man ps' and 'man kill' for more details... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BD94A2.6B05B1B0>