can't jump to superuser after buildwerld

Andrei Kolu antik at bsd.ee
Wed Apr 18 08:20:49 UTC 2007


On Wednesday 18 April 2007 09:26, KAYVEN RIESE wrote:
> okay.  i am getting a serious stomach ache.  i am looking at this page:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
>
> and my head is spinning.  i don't feel good.  i am halfway thru doing
> something or other sorta the wrong way.  right now i got a prompt.. i
> am running xfce4, but i can't jump to superuser.  i push the button
> and the laptop shuts down when i want it to.  the thing is when
> i did mergemaster -p i got into big problems i don't understand why.
> this guy told me how to do vipw like this:
>
> TeRReF:
> In single user mode:
>
> mount -a
> /usr/sbin/vipw
>
> then use this inside vipw:
> :wq
>
> That should do it...
>
> that helped a lot.. umm.. i felt stupid i guess.  i have been using vi for
> 20 years.. but still.. i really needed this.  i feel i need something like
> this for mergemaster - p or whatever step i should start from.  i am
> sorry for being so stupid.
>
Looks like you overwrote your /etc/group file and removed yourself from wheel 
group.
-----------------------------------------------------------
wheel:*:0:root,yourname
........
operator:*:5:root,yourname
-----------------------------------------------------------
So be more careful next time you update your base system.


More information about the freebsd-stable mailing list