Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 19:48:28 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Anthony Carmody <carmoda@interfaceergonomics.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: corrupt rc.conf file
Message-ID:  <20020423194828.A26236@grimoire.chen.org.nz>
In-Reply-To: <008301c1ea94$aac0dc70$6700a8c0@interfa.fortune>; from carmoda@interfaceergonomics.com on Tue, Apr 23, 2002 at 05:01:15PM %2B1000
References:  <008301c1ea94$aac0dc70$6700a8c0@interfa.fortune>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
                                       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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020423194828.A26236>