francois mounier wrote:

it returns this error
@ERROR: invalid gid nobody
rsync: connection inexpectedly closed (39 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at
io.c(150)

I don't know if Debian is different, but rsync can work with its own users and passwords (i.e they don't have to be, or should probably not be Unix users), in a file called rsyncd.secrets. In a non-Debian setup I have this line in the rsync.d file:
secrets file = /etc/rsyncd.secrets


The file /etc/rsyncd.secrets contains:
   mirroruser:mirroruser'spassword

The client can have a file (which can be called rsyncpassword or anything, because you specify it in the command)
Then the client runs:
rsync -acvz -P --timeout=6000 --stats --password-file=/etc/rsyncpassword [EMAIL PROTECTED]::test/ /var/www


Gerhard



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to