From owner-freebsd-questions Mon Apr 13 13:40:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13016 for freebsd-questions-outgoing; Mon, 13 Apr 1998 13:40:57 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from federation.addy.com (federation.addy.com [207.239.68.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA12981 for ; Mon, 13 Apr 1998 20:40:49 GMT (envelope-from fbsdlist@federation.addy.com) Received: from localhost (fbsdlist@localhost) by federation.addy.com (8.8.5/8.6.12) with SMTP id QAA23127; Mon, 13 Apr 1998 16:40:36 -0400 (EDT) Date: Mon, 13 Apr 1998 16:40:35 -0400 (EDT) From: Cliff Addy To: Dima Dorfman cc: freebsd-questions@FreeBSD.ORG Subject: Re: Forced logoff In-Reply-To: <3.0.5.32.19980413132956.00969d80@207.213.224.25> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message