| delorie.com/archives/browse.cgi | search |
| 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" <cygwin AT kosowsky DOT org> |
| MIME-version: | 1.0 |
| 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: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |