Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 1998 16:40:35 -0400 (EDT)
From:      Cliff Addy <fbsdlist@federation.addy.com>
To:        Dima Dorfman <webmaster@zwb.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Forced logoff
Message-ID:  <Pine.BSF.3.95q.980413163932.22876B-100000@federation.addy.com>
In-Reply-To: <3.0.5.32.19980413132956.00969d80@207.213.224.25>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980413163932.22876B-100000>