From owner-freebsd-questions Tue Aug 14 17:29:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 09EB337B40C for ; Tue, 14 Aug 2001 17:29:08 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.3/8.11.1) id f7F0Stl31383; Wed, 15 Aug 2001 12:28:55 +1200 (NZST) (envelope-from jonc) Date: Wed, 15 Aug 2001 12:28:55 +1200 From: Jonathan Chen To: Keith Spencer Cc: fbsd Subject: Re: HELP! rc.conf has unterminated string & I am locked out into single mode Message-ID: <20010815122855.C30883@itouchnz.itouch> References: <20010814231127.85391.qmail@web12003.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010814231127.85391.qmail@web12003.mail.yahoo.com>; from bsd2000au@yahoo.com.au on Wed, Aug 15, 2001 at 09:11:27AM +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 Wed, Aug 15, 2001 at 09:11:27AM +1000, Keith Spencer wrote: > Hi... > OOPS I left a quotes off in rc.conf and now there is > no edit/vi whatever! > rc.conf is readonly and I can't change it. > HELP....what do I do to fix it? > Thanks in anticipation Boot into single user. # mount -a # vi /etc/rc.conf -- Jonathan Chen ---------------------------------------------------------------------- char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message