From owner-freebsd-questions Wed Jan 24 11:50:12 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 4A00D37B699 for ; Wed, 24 Jan 2001 11:49:53 -0800 (PST) Received: (from jonc@localhost) by itouch.co.nz (8.11.1/8.11.1) id f0OJngT17861; Thu, 25 Jan 2001 08:49:42 +1300 (NZDT) (envelope-from jonc) Date: Thu, 25 Jan 2001 08:49:42 +1300 From: Jonathan Chen To: rmichalski@enwin.com Cc: freebsd-questions@freebsd.org Subject: Re: Unable to root due to invalid shell Message-ID: <20010125084942.A73739@itouchnz.itouch> References: <852569DE.00591D70.00@alcor.wuc.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <852569DE.00591D70.00@alcor.wuc.on.ca>; from rmichalski@enwin.com on Wed, Jan 24, 2001 at 11:13:21AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 24, 2001 at 11:13:21AM -0500, rmichalski@enwin.com wrote: > > > Thanks for answering so quickly. I tried what you said and the file system > is being mounted, but when I try to use ed to edit the /etc/passwd file I > get a 'read-only file system' error for '/tmp/ed.a989d' <-- something > similar to that. It looks like its just trying to create a temporary file > but it's not allowed to. I can't use vi, it says it can't find it. Have > you run into something like this before? When you boot single user, mount all the filesystems read-write with: # mount -a -- Jonathan Chen ---------------------------------------------------------------------- Computers are like air conditioners. They stop working when you open Windows. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message