Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 08:49:42 +1300
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        rmichalski@enwin.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Unable to root due to invalid shell
Message-ID:  <20010125084942.A73739@itouchnz.itouch>
In-Reply-To: <852569DE.00591D70.00@alcor.wuc.on.ca>; from rmichalski@enwin.com on Wed, Jan 24, 2001 at 11:13:21AM -0500
References:  <852569DE.00591D70.00@alcor.wuc.on.ca>

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




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