From owner-freebsd-questions Tue Sep 7 11:27:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 001F114E1D for ; Tue, 7 Sep 1999 11:27:08 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Tue, 7 Sep 1999 14:25:17 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105C2A@site2s1> From: Christopher Michaels To: 'Randy Katz' , Harry Putnam Cc: freebsd-questions@FreeBSD.ORG Subject: RE: Bizarre situation Date: Tue, 7 Sep 1999 14:27:53 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Or.. just use "su -m" btw, check where things are before you make changes. zsh should be in /usr/local/bin/zsh not /bin/zsh. -Chris > -----Original Message----- > From: Randy Katz [SMTP:randyk@ccsales.com] > Sent: Sunday, September 05, 1999 11:03 PM > To: Harry Putnam > Cc: freebsd-questions@FreeBSD.ORG; Randy Katz > Subject: Re: Bizarre situation > > Hi, > > 1. Power off. > 2. Power on. > 3. at boot prompt: boot -s [ENTER] > 4. at # prompt: fsck -y [ENTER] > 5. mount -a [ENTER] > 6. vipw [ENTER] edit the offending line and then reboot. > > On Sun, Sep 05, 1999 at 07:54:37PM -0700, Harry Putnam wrote: > > > > I've managed to create somethihg of a bizarre situation with a newly > > installed fbsd distribution (3.2 REALEASE) . A boxed set bought for > > 50 bucks at compUSA. > > > > I edited the /etc/master.passwds file by hand using "vipw" command, > > to fix a users passwd. Noticing that root had the csh shell listed, I > > changed it to zsh (having installed that shell) since I am not > > familiar with csh. > > > > Later, on reboot, I found that "zsh" is not recognized as a legit shell > > so cannot get logged in as root. Cannot su to root, from a user > > account either. I just get a message "/bin/zsh: No such file or > > directory" > > > > So am effectively locked out of root status. Making it impossible to > > correct the edited file. > > > > Using the full manual that came with the boxed set, I find several > > ways to boot in a rescue type environment. None of them will work for > > me. > > > > One way is supposed to be from the CD with the live file system. On > > trying that approach I find the CD is for Alph architecture instead of > > intel. > > > > The boot install CD is intel. I'm still wondering why I have a mixed > > set. As it happens the fixit.flp file is of no use to me either > > since this particular machine has a broken floppy drive. > > > > Seems there would be a way to get into root status to fix the shell > > problem, but I'm not finding it. Is there some way to get there using > > the boot/install CD? I went far enough to create a holographic shell > > but there are not enough commands available to repair the file. > > > > Can the Installed system commands be accessed in some way from the > > boot/install CD? Or is there a parameter I can insert at boot prompt > > that will allow a run level 1 boot as in linux. > > > > > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message