Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!math.ohio-state.edu!caen!batcomputer!ghost.dsi.unimi.it!univ-lyon1.fr!ensta!bsdtest.ensta.fr!bouyer From: bouyer@bsdtest.ensta.fr (Manuel Bouyer) Newsgroups: comp.os.386bsd.questions Subject: Re: Q: Help, I have disabled my console login possibilities. Date: 27 Nov 1993 17:18:34 GMT Organization: Ecole Nationale Superieure de Techniques Avancees, Paris Lines: 21 Distribution: world Message-ID: <2d825a$94s@homea.ensta.fr> References: <1993Nov27.160339.20961@odin.diku.dk> NNTP-Posting-Host: bsdtest.ensta.fr Keywords: NetBSD In article <1993Nov27.160339.20961@odin.diku.dk>, slawaetz@diku.dk (Sten Law{tz) writes: |> I seem to have shut myself out from my NetBSD 0.9 system. |> I added the vga entry as the main tty in /etc/ttys file on my |> NetBSD partition. Unfortunately, this is not reckognized by NetBSD, |> so I have no means to log onto my system and change it back. I have |> tried booting BSD from floppy, but this will not allow me to run an |> editor to change the file, so I'm stuck with a *very safe* system |> (no-one, not even me, can log on...). Is there a not to hard way |> to change this? Ie., I could *in principle* just reinstall NetBSD, |> this would take some time, though... |> Boot single-user (type '-s' when it ask you: boot [wd(0,a)][/netbsd][-s][-a]:). /etc/rc is not executed, init execute /bin/sh instead. Type 'mount -a' to remount read-write the filesystems, and you can then do what you want. -- Manuel Bouyer, Ecole Nationale Superieure de Techniques Avancees, Paris email: bouyer@ensta.fr --