RSYNC_PASSWORD and password-file not working on RH7.3

From: C. J. Clegghorn (answer.to.newsgroup_at_nospam.com)
Date: 05/30/04


Date: Sun, 30 May 2004 16:00:13 -0400


I'm using rsync to mirror another machine onto my local machine.

I have tried setting the RSYNC_PASSWORD to the desired password, using
"env" to make sure that the environment variable got set correctly,
but on the next callup to rsync, it still asks me for the remote
password.

I tried entering the password into the file "thePassword" and then
using --password-file="./thePassword" in the command line but that
doesn't work either ... it still prompts me for the password.

I'd like to get this all running in a script file but I can't if it's
going to stop and wait for me to type something.

I have read the man page top to bottom.

System is a Pentium II / 233 with lots of memory and Red Hat 7.3 with
kernel 2..4.18.

Once I manually type in the password, rsync works fine.

Any ideas?



Relevant Pages

  • Re: synchronizing two hard drives
    ... presumably rsync would copy those new files over ... for copying from the local machine to a remote machine ... This is invoked when the destination path ...
    (comp.os.linux.misc)
  • Re: Killed /home installing Fedora 7 with Ubuntu
    ... This is an rsync command that my wife and I both use on our laptops ... This command will be all on one line and it will delete files that do ... not exist on the local machine, that is if I delete a file from my ... that once deleted you cannot recover a file. ...
    (Fedora)
  • Re: iFolder
    ... > remote folder with the server. ... Sounds like a job for rsync, ... ...copies everything in ~/Mail on my local machine to the directory ... that runs a set of rsync commands every few hours, ...
    (comp.os.linux.misc)
  • Re: Dirctory syncronization
    ... but I found it a little slow compared to rsync. ... on the local machine to the /data directory on a machine ... on otherhost, so you end up with /data on otherhost". ... that it compresses the data before sending it over the cable/wireless link ...
    (alt.os.linux.suse)
  • Re: rsync backup
    ... I use rsync both at work and home for daily backups. ... home that has a separate partition just for backups, ... following script file and then set a cron job to run each morning at ...
    (Ubuntu)