X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: Yes, hits=5.0 required=5.0 tests=AWL,BAYES_20,BOTNET,RCVD_IN_DNSWL_NONE,TW_MK X-Spam-Check-By: sourceware.org From: "Jeffrey J. Kosowsky" MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Message-id: <19788.29579.291769.885726@consult.pretender> Date: Fri, 04 Feb 2011 16:45:47 -0500 To: cygwin AT cygwin DOT com Subject: Revisiting cloning cygwin install by copying cygwin folder 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 Just wanted to confirm that for cygwin 1.7, one can still for the most part clone a cygwin installation simply by copying over the entire cygwin tree. I know there are a few caveats: 1. You may want to remake your passwd and group files since the SID's will likely differ. Presumably, it would be sufficient to do: mkpasswd -cl >| /etc/passwd mkgroup --local >| /etc/group 2. You would need to re-establish your services using cygrunsrv That still leaves me with a couple of questions I want to confirm: A. What if anything do you have to do to get ntsec working properly? B. In general, should one make new ssh keys in /etc? C. More generally, now that sshd has it's own user, would one be best off just rerunning the script to set up sshd again (that would cover all the first 2 questions)? So in summary, other than the passwd/group files, windows services, and ssh/sshd associated stuff, is there anything that can't or shouldn't be copied over? Thanks! Jeff -- 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