X-Recipient: archive-cygwin AT delorie DOT com 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 X-Yahoo-SMTP: ycweUreswBCK.d0cygTP5tXwHncbOU7YVeVfIxOQoyRMI2IuIKLmUqE- Message-ID: <4FFF3BDE.2070500@molconn.com> Date: Thu, 12 Jul 2012 17:04:30 -0400 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 AT cygwin DOT com Subject: Re: best way to re-install and keep cygwin configuration References: <4FFF12A6 DOT 5000100 AT molconn DOT com> <4FFF3343 DOT 5010103 AT cygwin DOT com> <4FFF35DC DOT 2060403 AT cygwin DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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