Re: rsync as root for mail servers?
In response to Chris Maness <[EMAIL PROTECTED]>: > I plan on cutting over a server to new hardware, and I was wondering if > I can add cert based login for root (how do I do this)? This is so that > I can use rsync as root to sync the mail spool and home directories. > Will this work? I am using sendmail and wu-imapd. Follow the instructions for setting up ssh keys (there are dozens of howtos all over the 'net) then tweak /etc/ssh/sshd_config to allow root login (the config paramter is pretty obvious). Ensure that you either have a very strong root password, or that password auth for root is disabled first. Then, rsync you stuff using ssh as the connection mechanism (there's a command line switch for this in rsync, don't remember the details) Once you've got things rsynced the first time (while running) shut down all the services on the active machine and rsync again. This second rsync should be very fast so you'll have little downtime. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: rsync as root for mail servers?
You can use the SSH key then change it for security reasons. For directories is working fine, I never tried on the e-mail spool thou. Best Regards Catalin Miclaus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Maness Sent: Monday, May 05, 2008 5:31 AM To: freebsd-questions@FreeBSD.org Subject: rsync as root for mail servers? I plan on cutting over a server to new hardware, and I was wondering if I can add cert based login for root (how do I do this)? This is so that I can use rsync as root to sync the mail spool and home directories. Will this work? I am using sendmail and wu-imapd. Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rsync as root for mail servers?
I plan on cutting over a server to new hardware, and I was wondering if I can add cert based login for root (how do I do this)? This is so that I can use rsync as root to sync the mail spool and home directories. Will this work? I am using sendmail and wu-imapd. Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"