Subject: Re: forgot root password?
To: Brett Lymn <blymn@baesystems.com.au>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-help
Date: 05/23/2000 15:42:00
>Once the system is up in single user do this:
>
>fsck -y /
>mount -u /
>
>to check the fs and then mount the / file system r/w. Depending on
>your file system layout you may need to mount more file systems to get
>vi (if you need it).
based on
% where ed ex vi view pico xedit joe emacs
/bin/ed
/usr/bin/ex
/usr/bin/vi
/usr/bin/view
/usr/local/bin/pico
/usr/X11R6/bin/xedit
/usr/pkg/bin/joe
/usr/local/bin/emacs
i'd say you'll at least need /usr, and if you use vi, you'll probably
also want /var. oh, and don't forget to set your term type. :)
ex/vi: Error: unknown: No such file or directory
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
andrew@crossbar.com * "information is power -- share the wealth."