On Wed, Dec 9, 2009 at 8:12 AM, Rytis Sileika rytis.sileika@gmail.com wrote:
Hi,
I've created a patch that introduces new setting: rsync_user. Currently cobbler replicate would run 'rsync remote_server:...', so the user will be assumed to be 'root'. For "paswordless" replications this is not ideal, as making "paswordless" root account is generally not a good idea.
This setting allows specifying any user on the remote system, effectively changing rsync command to 'rsync user@remote_server:...'. If not specified it will not append anything.
The new cobbler (2.x) uses rsyncd for replication with the native rsync protocol I thought. Michael mentioned removing support for rsync over ssh due to key problems. You can control the user that is ran on the remote side by changing the rsyncd.conf template. Forgive my ignorance, but does cobbler 2.x support replication over rsync/ssh?