From owner-freebsd-questions Wed Jun 12 19:57:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) by hub.freebsd.org (Postfix) with ESMTP id DA52537B406 for ; Wed, 12 Jun 2002 19:57:35 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lerlaptop.lerctr.org (8.12.3/8.12.3) with ESMTP id g5D2vUeS001656; Wed, 12 Jun 2002 21:57:31 -0500 (CDT) (envelope-from ler@lerctr.org) Subject: Re: Recovering from misconfigured rc.conf From: Larry Rosenman To: LIM_Shih_Hsien@ida.gov.sg Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 12 Jun 2002 21:57:30 -0500 Message-Id: <1023937051.366.16.camel@lerlaptop> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 2002-06-12 at 21:54, LIM_Shih_Hsien@ida.gov.sg wrote: > Hi, i had entered a wrong syntax for a line in /etc/rc.conf. > > FreeBSD will now dump me into single user mode upon bootup, after > highlighting the syntax error. > > Is there any way I can edit rc.conf in this mode to comment out the > offending line pls? I only have / mounted in the single user mode, and > cannot access vi or similar commands in the csh session. > > I am running FreeBSD4.5-STABLE. mount -u / fsck /usr mount /usr vi /etc/rc.conf > > Many thanks, > Shih Hsien Lim > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message