From owner-freebsd-questions@FreeBSD.ORG Wed Mar 22 20:47:14 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 3115D16A400 for ; Wed, 22 Mar 2006 20:47:14 +0000 (UTC) (envelope-from bill@celestial.com) Received: from mail.mi.celestial.com (dagney.celestial.com [192.136.111.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C2BD43D7E for ; Wed, 22 Mar 2006 20:46:47 +0000 (GMT) (envelope-from bill@celestial.com) Received: from localhost (localhost [127.0.0.1]) by mail.mi.celestial.com (Postfix) with ESMTP id 910FC71AB0; Wed, 22 Mar 2006 12:46:46 -0800 (PST) Received: from mail.mi.celestial.com ([127.0.0.1]) by localhost (alexis.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 54837-01-3; Wed, 22 Mar 2006 12:46:45 -0800 (PST) Received: by mail.mi.celestial.com (Postfix, from userid 203) id A65DF719FA; Wed, 22 Mar 2006 12:46:45 -0800 (PST) Date: Wed, 22 Mar 2006 12:46:45 -0800 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20060322204645.GB52457@alexis.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <44219364.1070201@chrismaness.com> <20060322183001.GA23540@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060322183001.GA23540@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: amavisd-new at mi.celestial.com Subject: Re: Remote Single User Mode? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 20:47:14 -0000 On Wed, Mar 22, 2006, Kris Kennaway wrote: >On Wed, Mar 22, 2006 at 10:11:48AM -0800, Chris Maness wrote: >> In the make file for /usr/src it says I need to boot into single user >> mode. Is this possible from a remote connection (I don't think it is)? >> Do I have to be in single user mode to do the following?: >> >> # 5. `reboot' (in single user mode: boot -s from the loader prompt). >> # 6. `mergemaster -p' >> # 7. `make installworld' >> # 8. `mergemaster' >> # 9. `reboot' >> >> I administer this box by remote. > >You absolutely need to in certain situations. Sometimes (even often) >you can get away without it, but sometimes your system won't reboot to >multiuser mode unless you do those steps. > >Look into setting up a serial console; this is the "remote single user >mode" you're looking for. I have been able to work in single user mode on some systems by getting somebody with physical access to the box to boot in single user then start networking and secure shell manually. Once the sshd daemon was running I could get to the box from another machine on the LAN. The last time I did this was on an SCO OpenServer box which started the networking even in single user mode. I would have to RTFM to figure out if and how this can be done with FreeBSD. Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 Democracy, n.: A government of the masses. Authority derived through mass meeting or any other form of direct expression. Results in mobocracy. Attitude toward property is communistic... negating property rights. Attitude toward law is that the will of the majority shall regulate, whether it is based upon deliberation or governed by passion, prejudice, and impulse, without restraint or regard to consequences. Result is demagogism, license, agitation, discontent, anarchy. -- U. S. Army Training Manual No. 2000-25 (1928-1932), since withdrawn.