From owner-freebsd-questions Thu Aug 24 15: 5:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.intop.net (smtp.intop.net [206.156.254.80]) by hub.freebsd.org (Postfix) with ESMTP id 4D5D037B422 for ; Thu, 24 Aug 2000 15:05:38 -0700 (PDT) Received: from charlie (iwkcpe.intop.net [208.149.79.30]) by smtp.intop.net (8.9.3/8.9.3) with ESMTP id RAA22989; Thu, 24 Aug 2000 17:07:07 -0500 Message-Id: <200008242207.RAA22989@smtp.intop.net> From: "Charlie" To: freebsd-questions@FreeBSD.ORG, Kurtis Smith Date: Thu, 24 Aug 2000 17:14:41 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: I just need a little help on getting back to edit rc.conf In-reply-to: <4.3.2.7.2.20000824134456.00a98100@pop.mail.yahoo.com> X-mailer: Pegasus Mail for Win32 (v3.12a) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 24 Aug 00, at 13:48, Kurtis Smith wrote: > Well I edit rc.conf after successfully compiling my Custom Kernel with > support for Firewall... > > However I mistyped something and now it only comes up with > > /etc/rc.conf: 23: Syntax error(dumby me): Undetermined quoted string > Enter full pathname of shell or RETURN for /bin/sh: > > How can I get in to edit rc.conf... I can seem to figure it out then again > I did not try much. > > I am still a newby almost got the basics down but a long way to go... > > Thanks for your help. > > -kurt If you press RETURN for /bin/sh, you should get a root shell that will allow you to use: vi /etc/rc.conf to edit your changes... if you type 'mount' on a command line by itself, you might find / is in read-only mode, in which case you'll have to tell mount to change it to read-write mode so you can save your changes.... I think it's 'mount -w /'. I've done bone-headed things with config files that prevent me from getting /bin/sh in single-user mode... most of these were from bad kernel configs, I think, but if this applies to you, you might try using the Fixit Floppy off the CD-ROM distro. Good luck :-) -Charlie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message