From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23342 invoked by alias); 12 Jul 2012 21:04:51 -0000 Received: (qmail 23334 invoked by uid 22791); 12 Jul 2012 21:04:50 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_MK X-Spam-Check-By: sourceware.org Received: from nm9.access.bullet.mail.mud.yahoo.com (HELO nm9.access.bullet.mail.mud.yahoo.com) (66.94.237.210) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 12 Jul 2012 21:04:34 +0000 Received: from [66.94.237.126] by nm9.access.bullet.mail.mud.yahoo.com with NNFMP; 12 Jul 2012 21:04:33 -0000 Received: from [98.139.221.62] by tm1.access.bullet.mail.mud.yahoo.com with NNFMP; 12 Jul 2012 21:04:33 -0000 Received: from [127.0.0.1] by smtp103.biz.mail.bf1.yahoo.com with NNFMP; 12 Jul 2012 21:04:33 -0000 X-Yahoo-SMTP: ycweUreswBCK.d0cygTP5tXwHncbOU7YVeVfIxOQoyRMI2IuIKLmUqE- Received: from [192.168.10.168] (lmh_users-groups@71.232.178.51 with plain) by smtp103.biz.mail.bf1.yahoo.com with SMTP; 12 Jul 2012 14:04:32 -0700 PDT Message-ID: <4FFF3BDE.2070500@molconn.com> Date: Thu, 12 Jul 2012 21:04:00 -0000 From: LMH User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120429 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: best way to re-install and keep cygwin configuration References: <4FFF12A6.5000100@molconn.com> <4FFF3343.5010103@cygwin.com> <4FFF35DC.2060403@cygwin.com> In-Reply-To: <4FFF35DC.2060403@cygwin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00244.txt.bz2 If you do the old standard, mkpasswd -l > /etc/passwd mkgroup -l > /etc/group will that take care of it, or would I need to delete what is in those directories now first? The location of the cygwin directory will be the same. Is there a list of the windows registry entries for cygwin? I will not want to re-import the entire regisrry, so it would be nice to be able to make up a little batch file that would just insert the entries related to cygwin. LMH Larry Hall (Cygwin) wrote: > On 7/12/2012 4:31 PM, Earnie Boyd wrote: >> On Thu, Jul 12, 2012 at 4:27 PM, Larry Hall (Cygwin) wrote: >>> While I would also tend to just copy off my current Cygwin install >>> and then >>> plop it back in when I finished the O/S reinstall, there will be things >>> like local user and group accounts in '/etc/passwd' and '/etc/group' >>> that >>> will need updating. A reinstall of Cygwin avoids some of these little >>> clean-up tasks that come from just copying over a previous installation. >> >> Would one be able to re-execute the post install scripts to manage it? > > Well, in the case of the '/etc/passwd' and '/etc/group' files, not > entirely. > 000-cygwin-post-install.sh will create these files but only if they don't > exist already. > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple