From owner-freebsd-questions Tue Apr 23 20:34:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 64F3737B41C for ; Tue, 23 Apr 2002 20:34:27 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 501A68149A; Wed, 24 Apr 2002 13:04:25 +0930 (CST) Date: Wed, 24 Apr 2002 13:04:25 +0930 From: Greg 'groggy' Lehey To: Anthony Carmody Cc: freebsd-questions@FreeBSD.ORG Subject: Re: stuffed up rc.conf Message-ID: <20020424130425.D50826@wantadilla.lemis.com> References: <00b401c1ea96$f7f86650$6700a8c0@interfa.fortune> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00b401c1ea96$f7f86650$6700a8c0@interfa.fortune> User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 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 Tuesday, 23 April 2002 at 17:17:44 +1000, Anthony Carmody wrote: > hi, > > i have stuffed up my rc.conf file and am recieveing an error during > boot [syntax]. I have been able to find it when i go into the defult > shell [sh], however I cannot replace or edit it because I am not > root/wheel. Hmm, I'm not sure what you're saying here. If you boot single user and start the default shell, you *are* root. > Is there a way of replacing the file with a default or over riding > it, or su -ing to root somehow from the deafult shell? I suspect your problem is that your root file system is mounted read-only. You need to mount it read-write first: # mount -u / If you have a separate /usr file system, you'll need to mount it too in order to use most editors. If this isn't the answer to your problem, please describe in more detail what you have done. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message