From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 16:50:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DAC6016A400 for ; Mon, 9 Jul 2007 16:50:32 +0000 (UTC) (envelope-from jnatola@familycareintl.org) Received: from mail.familycareintl.org (mail.familycareintl.org [68.167.21.154]) by mx1.freebsd.org (Postfix) with ESMTP id 9200813C489 for ; Mon, 9 Jul 2007 16:50:32 +0000 (UTC) (envelope-from jnatola@familycareintl.org) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 9 Jul 2007 12:50:31 -0400 Message-ID: <3A85D7EF44E1C744BF6434691F5659E9702CF8@www.fcimail.org> In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB19BB7B@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: reboot in single user Thread-Index: AcfCL/5gXDWVQIpYQ4Ktna8giFeORgAAJFQAAAPEMzA= From: "Jean-Paul Natola" To: "Johan Hendriks" Cc: freebsd-questions@freebsd.org Subject: RE: reboot in single user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 16:50:32 -0000 >I'm curious to know if there is a command to reboot into single user = mode- * >more importantly* if I do reboot in single user mode can I still SSH = in? >My box is not physically near me and I'm upgrading 5.5 to 6.2 - so it = this >possible- or do I need to go get the box and attach a keyboard monitor = and >mouse to it? >Thanks >Shutdown now goes into single user mode, but it will close SSH >!!!!!!!!!!!!! >Better is to manually shutdown al daemons through /usr/local/etc/rc.d = and >/etc/rc.d to only have sshd running. >If you using natd do not stop it either, because it will disconnect = you.> >Then you can finnish the make world cycles. >That is the way I do it from a remote shell, it it only failed me once. >Else try on a spare machine install 5.5 and update it to 6.2 through a = ssh >version, then you know what to expect. >Also install the main ports you have running on your remote 5.5 box and = try >if they still work. How long will this take- as stopping the daemons (spamd/clamd etcc..) = will cause a halt in my incoming mail?