From owner-freebsd-stable@FreeBSD.ORG Fri Apr 20 00:03:37 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 6914316A401 for ; Fri, 20 Apr 2007 00:03:37 +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 2C8D813C45A for ; Fri, 20 Apr 2007 00:02:32 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 19 Apr 2007 17:02:31 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CACGfJ0aC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007041917023030-240 ; Thu, 19 Apr 2007 17:02:30 -0700 Date: Thu, 19 Apr 2007 17:02:29 -0700 (PDT) From: KAYVEN RIESE To: Christian Walther In-Reply-To: <14989d6e0704182308w6a914e45v5551796cd69982e@mail.gmail.com> Message-ID: References: <20070403020736.8549C241BF@freebsd-stable.sentex.ca> <1175804482.46155a4211b0f@webmail.sfsu.edu> <200704181120.47269.antik@bsd.ee> <14989d6e0704182308w6a914e45v5551796cd69982e@mail.gmail.com> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 04/19/2007 17:02:30, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0HF265 | May 12, 2006) at 04/19/2007 17:02:30, Serialize complete at 04/19/2007 17:02:30 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Andrei Kolu , 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: Fri, 20 Apr 2007 00:03:37 -0000 my settings got trampled. it's weird. i had my prompt set up to have pwd in the path and i customized the root prompt to do a similar dingy followed by a # instead of a % and it was like really weird how su - still got my root prompt back. that's how it werks now..i have been too lazy to fix my user settings.. On Thu, 19 Apr 2007, Christian Walther wrote: > On 19/04/07, KAYVEN RIESE wrote: >> how in the werld did i manage to remove myself from wheel. i just >> ran mergemaster -p > > Given that "you" means "user account" it's fairly easy: mergemaster > collects all the status of all system and configuration files and > compares them with the fresh files. These new files don't know about > your user, in fact they don't know about anything. Their contents is > the same as files from a fresh install. > When running mergemaster you can choose to leave the current file > intact, which would keep all your changes, but might miss some of the > new stuff that should have been introduced. > Another idea would be to install the new file, which would of course > overwrite your settings. Maybe this is what happened. > If you noticed that you can't do either of these two options, but that > you have to merge both files, you can do so, too. In this case > removing yourself from wheel is also possible. > > In the beginning I found it difficult to identify both files > correctly. For example the pathes where the files are located can be > confused easily. You have to keep in mind that the productive files > where copied to /var/tmproot, and that ./etc is actually the brand new > file. >> >> is there any documentation for that command that would explain >> the complex nonsense .. > Maybe a "mergemaster in depth" kind of manual would be a good idea for > all who are unfamiliar with mergemaster, diff and friends. > >> >> 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.. > > If you're able to move all the data to another machine it's probably > the best solution. After you did the install and configured the > machine you can be sure that everything is up and running again. >> >> 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! >> > [snip] > > BTW: Please don't top post. >