From owner-freebsd-questions Tue Apr 23 0:48:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 31C6737B416 for ; Tue, 23 Apr 2002 00:48:40 -0700 (PDT) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.3/8.12.3) with ESMTP id g3N7mSP9026292; Tue, 23 Apr 2002 19:48:28 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.3/8.12.3/Submit) id g3N7mSbi026291; Tue, 23 Apr 2002 19:48:28 +1200 (NZST) Date: Tue, 23 Apr 2002 19:48:28 +1200 From: Jonathan Chen To: Anthony Carmody Cc: freebsd-questions@FreeBSD.ORG Subject: Re: corrupt rc.conf file Message-ID: <20020423194828.A26236@grimoire.chen.org.nz> References: <008301c1ea94$aac0dc70$6700a8c0@interfa.fortune> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <008301c1ea94$aac0dc70$6700a8c0@interfa.fortune>; from carmoda@interfaceergonomics.com on Tue, Apr 23, 2002 at 05:01:15PM +1000 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 Tue, Apr 23, 2002 at 05:01:15PM +1000, Anthony Carmody wrote: > hi, > > i have stuffed up my rc.conf file and am recieveing an error during boot > [syntax]. I can find it when i go into the defult shell [sh], however I > cannot replace or edit it because I am not root/wheel. 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? You need to do a "mount -u /" or a "mount -a". This will allow you to write to the filesystem. -- Jonathan Chen ---------------------------------------------------------------------- Do not take life too seriously. You will never get out of it alive. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message