From owner-freebsd-questions@FreeBSD.ORG Tue Feb 6 21:02:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3382F16A406 for ; Tue, 6 Feb 2007 21:02:44 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 17EBB13C4A8 for ; Tue, 6 Feb 2007 21:02:44 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from insp.local (jn@c-76-23-109-98.hsd1.sc.comcast.net [76.23.109.98]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l16L2hAE047845; Tue, 6 Feb 2007 16:02:43 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Tue, 6 Feb 2007 16:02:26 -0500 User-Agent: KMail/1.9.5 References: <6207f7d90702061258k2ace8012ld479065f2455b454@mail.gmail.com> In-Reply-To: <6207f7d90702061258k2ace8012ld479065f2455b454@mail.gmail.com> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702061602.27569.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Don Munyak Subject: Re: rc.conf ...need help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 21:02:44 -0000 On Tuesday 06 February 2007 15:58, Don Munyak wrote: > I was tweaking the /etc/rc.conf file and apparently had a typo. Now > the system boots into single user mode. I know what my error is > > syslogd_enable=YES" {left off the first "} > > How can I edit rc.conf while in single user mode. I've tried vi & ee, > but system doesn't recognize either. You can mount /usr (assuming that's not related to whatever you're trying to fix) by typing "mount /usr". You'll also need to mount / read/write before you can modify rc.conf so I usually just do "mount -a". "mount /" will re-mount / with the default r/w settings. If you do have a problem with /usr, there are statically linked versions of both system default editors in /rescue. So you could also do "/rescue/ee /etc/rc.conf", for example. JN