Port update hosed entire system

jb jb.1234abcd at gmail.com
Mon Oct 1 10:49:06 UTC 2012


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






More information about the freebsd-questions mailing list