rsync tutorial with ispconfig

Discussion in 'Installation/Configuration' started by commentator, Apr 11, 2009.

  1. commentator

    commentator Member

    Hi,

    Found the rsync tutorial today (http://www.howtoforge.com/mirroring_with_rsync)

    When running it as someuser it doesn't have permissions to copy the Maildir folders. So I have to run it as root.

    Is it possible to make a key, as in tutorial, for root user so the script can run without password? (without effecting the normal root login)
    Or is there an other option to get it working?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Yes, that's possible. Make sure that direct root logins are enabled in your sshd_config.
     
  3. bernholdt

    bernholdt Member

    To make it run as root
    Do i have to do the following steps as root ?

    server1:

    (Please do this as someuser!)

    mkdir ~/.ssh
    chmod 700 ~/.ssh
    mv ~/mirror-rsync-key.pub ~/.ssh/
    cd ~/.ssh
    touch authorized_keys
    chmod 600 authorized_keys
    cat mirror-rsync-key.pub >> authorized_keys
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Yes, that's right.
     

Share This Page