Date: Sun, 28 Jan 1996 00:21:33 -0800 (PST) From: John-Mark Gurney <gurney_j@nike.efn.org> To: Keith Leonard <keithl@gil.net> Cc: questions@freebsd.org Subject: Re: Help - I'm locked out and don't know how to get in!!! Message-ID: <Pine.NEB.3.91.960128001940.2467E-100000@nike.efn.org> In-Reply-To: <Pine.LNX.3.91.960127234839.28413A-100000@wakko.gil.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 27 Jan 1996, Keith Leonard wrote: > Anyone, > I had just changed my shell (to bash) which I assumed (yes I know) was > there because I had added it during the initial installation. My son > interrupted me, a movie caught my eye, an hour or so latter BSD had > autologged me out. Needless to say bash wasn't were it was suppose to be > in /usr/bin ( because I hadn't had time to check it before I was logged > out). Now when I try to log in as root with the right password BSD tells > me that bash isn't in /usr/bin and loops me back to the login prompt. I > tried booting single user mode but that only allows me to check the > filesystem and look around (ro), so I can't change anything. > > No, I don't have a fixit disk or emergency boot disk (bad boy, get in the > corner and don't come out until you repent). I swear if somebody can get > me back in I'll correct the oversite immediately and never let this happen > again. If you haven't guessed - I new to FreeBSD. ok... reboot... when you get the the boot: prompt... type in -s... this will drop you into single user mode... when prompted for the shell just hit enter... then run "mount -u -o rw /"... and then a "mount -a"... then do a vipw and change it back... you can do a "cat /etc/shells" to find were the shells are located... hope this helps... TTYL... John-Mark gurney_j@efn.org Modem/FAX: (503) 683-6954 (FreeBSD Box) Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix) GCS/M/Sd#h+s+!gau-a--w++++vC+++++UF++++P---E---N++W---M--V--Y+t+5++G+b+D++ B----eu+h++!f++n---- CD5OUF++++.L-------2W.DM----N.9---NET2SP3s.2,4s.,4d.2,6---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.91.960128001940.2467E-100000>