From owner-freebsd-questions@FreeBSD.ORG Sun Sep 17 21:54:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9777416A494; Sun, 17 Sep 2006 21:54:03 +0000 (UTC) (envelope-from pobox@verysmall.org) Received: from thing.verysmall.org (thing.verysmall.org [212.100.226.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B85243F52; Sun, 17 Sep 2006 21:49:43 +0000 (GMT) (envelope-from pobox@verysmall.org) Received: from [192.168.2.4] (chello084114134105.3.15.vie.surfer.at [84.114.134.105]) by thing.verysmall.org (Postfix) with ESMTP id A82972282F; Sun, 17 Sep 2006 22:48:34 +0100 (BST) Message-ID: <450DC2EE.7020002@verysmall.org> Date: Sun, 17 Sep 2006 23:49:34 +0200 From: "pobox@verysmall.org" User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Daniel Gerzo References: <450C46A8.3080908@verysmall.org> <37857215.20060917223205@rulez.sk> In-Reply-To: <37857215.20060917223205@rulez.sk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: rebooting into single user mode on a remote server 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: Sun, 17 Sep 2006 21:54:03 -0000 Daniel Gerzo wrote: > Hello pobox, > > Saturday, September 16, 2006, 8:47:04 PM, you wrote: > >> Hello, > >> could somebody help me to understand the best way to enter into a single >> user mode on a remote server. > >> I need it for the moment, during rebuilding world, when I have to reboot >> into single user mode before 'mergemaster -p'. > > I don't want to persuade you to something that is not officially > supported, but I have never booted into single user mode while > upgrading my FreeBSD boxes and I have never experienced any problems > because of this. Just try to skip the reboot step and go ahead. It > works(tm) for me this way. > > If you are paranoid, try to stop all running services except the ssh > deamon. Phew... I hear this again and again. Only I am not sure I have the level of boldness to do this on a production machine. Isn't the following sequence of steps similar - 'shutdown -r now' (reboots in multi-user mode), and then immediately 'shutdown now' (drops to single user mode)? Iv.