RSYNC_PASSWORD and password-file not working on RH7.3
From: C. J. Clegghorn (answer.to.newsgroup_at_nospam.com)
Date: 05/30/04
- Next message: linuxforum: "re:Problem installing gjitten with Fedora Core1"
- Previous message: Tommy Reynolds: "Re: Problem installing gjitten with Fedora Core1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Next message: linuxforum: "re:Problem installing gjitten with Fedora Core1"
- Previous message: Tommy Reynolds: "Re: Problem installing gjitten with Fedora Core1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|