Date: 13 Mar 2002 12:58:13 -0600 From: Rob Hughes <rob@robhughes.com> To: Roman Neuhauser <neuhauser@mobil.cz> Cc: Free BSD Questions <freebsd-questions@freebsd.org> Subject: Re: root Error Message-ID: <1016045893.10951.16.camel@kahuna-ws.robhughes.com> In-Reply-To: <20020313175941.GJ68827@roman.mobil.cz> References: <LOEJICFDGCPPJOMJCJKDKEFACIAA.bas@kompas-media.nl> <00c101c1cab5$a65d7ac0$29821304@crashbox> <20020313175941.GJ68827@roman.mobil.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <freebsd@datalinkwireless.com> > > To: "Free BSD Questions" <freebsd-questions@freebsd.org> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1016045893.10951.16.camel>