From owner-freebsd-questions Wed Mar 13 10:57: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.robhughes.com (12-237-138-77.client.attbi.com [12.237.138.77]) by hub.freebsd.org (Postfix) with SMTP id 87CC037B402 for ; Wed, 13 Mar 2002 10:56:58 -0800 (PST) Received: (qmail 19356 invoked from network); 18 Mar 2002 05:32:59 -0000 Received: from hexch01.robhughes.com (192.168.1.3) by ns2.robhughes.com with SMTP; 18 Mar 2002 05:32:58 -0000 Received: from kahuna-ws.robhughes.com ([192.168.1.13]) by HEXCH01.robhughes.com with Microsoft SMTPSVC(5.0.2195.2966); Wed, 13 Mar 2002 12:57:11 -0600 Subject: Re: root Error From: Rob Hughes To: Roman Neuhauser Cc: Free BSD Questions In-Reply-To: <20020313175941.GJ68827@roman.mobil.cz> References: <00c101c1cab5$a65d7ac0$29821304@crashbox> <20020313175941.GJ68827@roman.mobil.cz> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.2.99 Preview Release Date: 13 Mar 2002 12:58:13 -0600 Message-Id: <1016045893.10951.16.camel@kahuna-ws.robhughes.com> Mime-Version: 1.0 X-OriginalArrivalTime: 13 Mar 2002 18:57:11.0893 (UTC) FILETIME=[E2196050:01C1CAC0] 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 You'll probably also need to set your term, as that doesn't get set in SUM. Try TERM=vt100 && export TERM before running vi, but after mounting your file systems. On Wed, 2002-03-13 at 11:59, Roman Neuhauser wrote: > > From: "FreeBSD" > > To: "Free BSD Questions" > > Subject: Re: root Error > > Date: Wed, 13 Mar 2002 12:36:46 -0500 > > > > Ok I booted into single user mode and I am trying to edit the "paswwd" > > file, but what editor can I use, I tried vi and ee and they both don't > > work. > > vi is in /usr/bin, and I don't think /usr is mounted in single user. > do this: > mount -a -t ufs > you should have all ufs filesystems mounted now, which will give you > access to vi. > > -- > FreeBSD 4.4-STABLE > 6:56PM up 13 days, 20:04, 10 users, load averages: 0.13, 0.21, 0.24 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message