summaryrefslogtreecommitdiff
path: root/rsync.yo
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-01-08 10:32:56 +0000
committerAndrew Tridgell <tridge@samba.org>1999-01-08 10:32:56 +0000
commit65575e9670fb77ececc8255d572d08d7b10bb049 (patch)
tree25d8af8ed48e4e22399daa7782d52ea34d3d6cf7 /rsync.yo
parent5e71c4446e10c27c1db0c7e7e5b71be68f3b88de (diff)
downloadrsync-65575e9670fb77ececc8255d572d08d7b10bb049.tar.gz
added --password-file patch from Alex Schlessinger <alex@inconnect.com>
(yes, I know I'm not supposed to be doing rsync work at the moment! only four weeks to go ...)
Diffstat (limited to 'rsync.yo')
-rw-r--r--rsync.yo12
1 files changed, 10 insertions, 2 deletions
diff --git a/rsync.yo b/rsync.yo
index 1de12e4e..80ac10b0 100644
--- a/rsync.yo
+++ b/rsync.yo
@@ -159,10 +159,11 @@ itemize(
Some paths on the remote server may require authentication. If so then
you will receive a password prompt when you connect. You can avoid the
password prompt by setting the environment variable RSYNC_PASSWORD to
-the password you want to use. This may be useful when scripting rsync.
+the password you want to use or using the --password-file option. This
+may be useful when scripting rsync.
WARNING: On some systems environment variables are visible to all
-users.
+users. On those systems using --password-file is recommended.
manpagesection(RUNNING AN RSYNC SERVER)
@@ -262,6 +263,7 @@ Options
--port=PORT specify alternate rsyncd port number
--stats give some file transfer stats
--progress show progress during transfer
+ --password-file=FILE get password from FILE
--log-format=FORMAT log file transfers using specified format
-h, --help show this help screen
)
@@ -581,6 +583,12 @@ dit(bf(--progress)) This option tells rsync to print information
showing the progress of the transfer. This gives a bored user
something to watch.
+dit(bf(--password-file)) This option allows you to provide a password
+in a file for accessing a remote rsync server. Note that this option
+is only useful when accessing a rsync server using the built in
+transport, not when using a remote shell as the transport. The file
+must not be world readable.
+
enddit()
manpagesection(EXCLUDE PATTERNS)