From owner-freebsd-stable@FreeBSD.ORG Thu Apr 19 00:32:07 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6645616A407 for ; Thu, 19 Apr 2007 00:32:07 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id 4E4B913C4C7 for ; Thu, 19 Apr 2007 00:32:07 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 18 Apr 2007 17:31:53 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAFxVJkaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007041817315182-174 ; Wed, 18 Apr 2007 17:31:51 -0700 Date: Wed, 18 Apr 2007 17:31:51 -0700 (PDT) From: KAYVEN RIESE To: Andrei Kolu In-Reply-To: <200704181120.47269.antik@bsd.ee> Message-ID: References: <20070403020736.8549C241BF@freebsd-stable.sentex.ca> <1175804482.46155a4211b0f@webmail.sfsu.edu> <200704181120.47269.antik@bsd.ee> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 04/18/2007 17:31:51, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0HF265 | May 12, 2006) at 04/18/2007 17:31:53, Serialize complete at 04/18/2007 17:31:53 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: can't jump to superuser after buildwerld X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 00:32:07 -0000 how in the werld did i manage to remove myself from wheel. i just ran mergemaster -p is there any documentation for that command that would explain the complex nonsense .. well.. maybe i just freeked out. still.. i followed instructions.. granted somebody told me a different procedure (that i posted and was editited out from below) and it made mergemaster -p act in a way that i didn't feel prepared for. right now.. as i explained in the other posting, i didn't really follow all the instructions on the makewerld page given below.. but i am a bit afraid to just jump in the middle somewhere.. hrm.. i guess starting from the beginning might be right but.. ooo.. i am getting that stomache ache agin. btw.. i dropped to single user mode, vi'ed /etc/group according to the instruction and i am now able to jump to root again. thx a bunch for that! On Wed, 18 Apr 2007, Andrei Kolu wrote: > 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. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >