From owner-freebsd-questions Wed Jun 12 19:55:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from venus.gems2.gov.sg (venus.gems2.gov.sg [160.96.65.2]) by hub.freebsd.org (Postfix) with ESMTP id 3107537B405 for ; Wed, 12 Jun 2002 19:55:24 -0700 (PDT) Received: from sehubm001.gems2.gov.sg ([10.235.129.12]) by venus.gems2.gov.sg (AIX4.3/8.9.3/8.9.3) with ESMTP id KAA101980 for ; Thu, 13 Jun 2002 10:52:46 +0900 From: LIM_Shih_Hsien@ida.gov.sg Subject: Recovering from misconfigured rc.conf To: freebsd-questions@freebsd.org Message-ID: Date: Thu, 13 Jun 2002 10:54:24 +0800 X-MIMETrack: Serialize by Router on SEHUBM001/GOV/H/SINEXTRA(Release 5.0.6a |January 17, 2001) at 06/13/2002 10:53:18 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii 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 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. Many thanks, Shih Hsien Lim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message