Re: [PATCH] Input wanted on changes.
Toby Dickenson <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb.dirstorage |
|---|---|
| Message-ID | <[email protected]> |
On Friday 21 January 2005 12:22, Bj|rn Augustsson wrote: > a) I can't set the PYTHONPATH in the zope users' login files, since > there are several versions of zope, and I don't know which one is > correct for the instance I'm replicating. I address this problem (and others) by having different uids for each instance. > b) I _could_ do the .ssh/environment trick, sort of, but it would mean A better variant of this trick is to have different ssh keys for each instance. In ~/.ssh/authorized_keys on the master you need one line per key. Theres lots of good stuff you can add in that file..... per-key environment variables will solve your main problem. no-X11-forwarding etc will solve the timeout problem you mentioned. We have some off-site replicas, so replica-to-master security is interesting to us. For extra security on the master you can restrict this replication-login-key to specific IP addresses, and limit its command line so that the key can only be used for replication, not accessing a full shell. I hope this helps. -- Toby Dickenson ____________________ Important Notice: This email and any attachments are confidential and may contain trade secrets or be legally privileged. If you have received this email in error you must not use, rely upon, disclose, copy or distribute the contents. Please reply to the sender so that proper delivery can be arranged and delete the email from your computer. Gemini Data Loggers monitor incoming and outgoing email to ensure satisfactory customer service, maintain company security and prevent abuse of their email system. However, any views expressed in this email are not necessarily those of Gemini and Gemini cannot be held responsible for the content. Gemini makes best efforts to ensure emails are virus free; however you are advised to carry out your own checks. Gemini does not accept responsibility for any damage resulting from email viruses. ____________________ ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl