From owner-freebsd-questions Wed Aug 7 12:50:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA03146 for questions-outgoing; Wed, 7 Aug 1996 12:50:37 -0700 (PDT) Received: from homer27.u.washington.edu (durang@homer27.u.washington.edu [140.142.77.7]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA03137 for ; Wed, 7 Aug 1996 12:50:35 -0700 (PDT) Received: from localhost by homer27.u.washington.edu (5.65+UW96.06/UW-NDC Revision: 2.33 ) id AA163698; Wed, 7 Aug 96 12:49:24 -0700 Date: Wed, 7 Aug 1996 12:49:24 -0700 (PDT) From: Ken Marsh To: Don Yuniskis Cc: "Hr.Ladavac" , DARBY1@x400.telkom400.inca.za, questions@FreeBSD.org Subject: shutting down from X In-Reply-To: <199608071328.GAA22300@seagull.rtd.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 7 Aug 1996, Don Yuniskis wrote: > > Well, it does. But what I said had to do with C-A-D and X: X doesn't > > propagate the keypresses and it steals the keyboard from the system--read > > "You cannot C-A-D from X". > > Yes. Understood. Oh, *I* see (said the blind man)... you were > discussing how to shutdown WITHOUT killing X *first*! (I read this > as killing X then using ALT-F1 -- not CTRL-ALT-F1 -- to select the > first VTY... I was trying to point out that shutdown automatically > drops you into the console... "Nevermind" :>) > > Yes. But, at least it looked at the source of the command to provide > *some* measure of protection against someone shutting down the system > (even root) from a tty... I shut down by issuing the shutdown command in an xterm window all the time! It seems to me that the xterms are killed gracefully after being giving the warning message, and then X is exited back to ttyv0, I see the sync going on, then the halt. Is this a bad way to do it??? Or are you talking about CAF1ing while X is running and shuting down from there? Ken