From owner-freebsd-questions Mon Apr 13 13:50:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA15069 for freebsd-questions-outgoing; Mon, 13 Apr 1998 13:50:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.ahnet.net (mail.ahnet.net [207.213.224.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA15055 for ; Mon, 13 Apr 1998 20:50:30 GMT (envelope-from webmaster@zwb.net) Received: from znet-pdcs (icg-apc-pr1-p12.apc.net [207.211.76.166]) by mail.ahnet.net (8.8.7/8.8.6) with SMTP id NAA28450; Mon, 13 Apr 1998 13:42:49 -0700 (PDT) Message-Id: <3.0.5.32.19980413134702.00962cc0@207.213.224.25> X-Sender: 5808.dima@207.213.224.25 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Mon, 13 Apr 1998 13:47:02 -0700 To: Cliff Addy From: Dima Dorfman Subject: Re: Forced logoff Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: <3.0.5.32.19980413132956.00969d80@207.213.224.25> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That's not really what I'm looking for. Let's say, there is a user that is about to break into your system. You _could_ use 'shutdown -k', but let's say that your boss is writing a very important document, and he's not autosaving it. You log everyone off, and your boss kills you because he needs to write it all over again. I'm looking to kick one user at a time. Thanks anyways! DIma At 04:40 PM 4/13/98 -0400, you wrote: >On Mon, 13 Apr 1998, Dima Dorfman wrote: > >> Does anyone know how to forcibely logoff users? For example, the system is >> going into maintenence mode, and I want to logout all users, without using >> shutdown. Can this be done? > >Well, you can *use* shutdown without shutting down, use the -k option. >>From the man page: > > -k Kick every body off. The -k option does not actually halt the > system, but leaves the system multi-user with logins disabled (for all > but super-user). > >Not sure if that's what you're looking for. > > > > --- Thanks! Dima Dorfman - dima@zwb.net "640k ought to be enough for anybody." - Bill Gates, 1981 - Bill Gates To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message