Date: Thu, 19 Dec 1996 11:16:12 +0100 (MET) From: Robert Eckardt <roberte@mep.ruhr-uni-bochum.de> To: steve@edmweb.com (Steve Reid) Cc: bsoben@gauss.elee.calpoly.edu, questions@freebsd.org Subject: Re: root problem Message-ID: <199612191016.LAA17275@ghost.mep.ruhr-uni-bochum.de> In-Reply-To: <Pine.BSF.3.91.961218170529.187A-100000@bitbucket.edmweb.com> from Steve Reid at "18. Dec. 96 17:05:51"
next in thread | previous in thread | raw e-mail | index | archive | help
> > I changed the shell on my root account from csh to tcsh.. When I try to > > login as root, I can't because it says it can't find /bin/tcsh. IS there > > any way to fix this without reinstalling the system? You can boot to single user mode (`-s' at `boot:' prompt) and use /bin/sh (the default) when prompted for a shell. Then you have to re-mount / with `mount -u /' to be able to write to /. Use either vipw to change your shell back to /bin/sh, /bin/csh, ... or (only if it's in the root-FS) `ln -s /usr/local/bin/tcsh /bin/tcsh'. Robert > The tcsh package is installed as /usr/local/bin/tcsh, _not_ /bin/tcsh. > > I use bash, and copied /usr/local/bin/bash to /bin/bash so that I can > access it even on those rare occasions when /usr isn't mounted. -- Robert Eckardt \\ FreeBSD -- solutions for a large universe.(tm) RobertE@MEP.Ruhr-Uni-Bochum.de \\ What do you want to boot tomorrow ?(tm) http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612191016.LAA17275>