Date: Mon, 13 Apr 1998 13:47:02 -0700 From: Dima Dorfman <webmaster@zwb.net> To: Cliff Addy <fbsdlist@federation.addy.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Forced logoff Message-ID: <3.0.5.32.19980413134702.00962cc0@207.213.224.25> In-Reply-To: <Pine.BSF.3.95q.980413163932.22876B-100000@federation.addy. com> References: <3.0.5.32.19980413132956.00969d80@207.213.224.25>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980413134702.00962cc0>