Gary Nielson wrote:
> 
> I am setting up rsync to copy files from one computer on my network to
> another. It works great when I run the command as root on the client
> machine to copy over my home directory:
> 
>  rsync -avzr gnielson@nielson::home/gnielson /home/mirror/gnielson
> 
> but when I try to copy over my entire home directory to my client machine
> as root, running:
> 
> rsync -avzr root@nielson::home /home/mirror/gnielson
> 
> I get Permission denied errors when rsync opens directories or attempts to
> read links, even in the gnielson home dir I could successfsully do the
> previous way.
> 
> Is there something wrong with my configuration on my server machine?
> 
> Here is my rsyncd.conf file:
> 
> motd file = /etc/rsyncd.motd
> log file = /var/log/rsyncd.log
> pid file = /var/run/rsyncd.pid
> lock file = /var/run/rsync.lock
> 
> [home]
> hosts allow = 192.168.8.15/255.255.0.0
> hosts deny = *
> comment = My Own Rsync Server
> max connections =4
> path = /home
> comment = home dirs
> read only = yes
> list = yes
> secrets file = /etc/rsyncd.secrets
> 
> my rsyncd.secrets file contains:
> 
> gnielson:password
> root:password
> 
> I thought that by including the root password in my secrets file I would
> be able to copy files across many home dirs, logged on as root on the
> client machine?
> 

I don't know but I would suspect a pam or authentication issue of some
sort.  can you actually copy any thing this way?  I use rsync on several
of our systems but use ssh as the transport.  Fully encrypted and
protected by rsa keys.  I would be concerned about security using this
setup.  Does it actually send the root password across the network? 
Gosh I hope not.

Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to