jb <jb.1234abcd <at> gmail.com> writes:

> 
> Rod Person <rodperson <at> rodperson.com> writes:
> 
> > ... 
> > I'm still able to issue sudo, so using sudo rm -r I was able to free up
> > 25GB...but still, /bin/sh, ls, clear all seg fault and su doesn't work
> > and switching consoles doesn't let me log in.
> > 
> > I maybe be left with attempting a single user boot, but I'm still not
> > that comfortable at attempting such as I don't want to have a totally
> > useless box.
> > 
> 
> Well, in emergency:
> - add /rescue/sh to /etc/shells
>   Anything in /rescue/ is statically compiled.
> - change "root" shell to /rescue/sh
>   vipw
> 
> jb

I forgot to mention that you may want to do this:

Save /bin/sh.
mv /bin/sh /bin/sh-saved

Softlink /bin/sh:
ln -s /rescue/sh /bin/sh

jb



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to