--passord-file doesn't work

tim.conway at philips.com tim.conway at philips.com
Wed May 8 07:47:02 EST 2002

--password-file= works just fine.  You're using the files designated by 
"secrets file" option in rsyncd.conf.

User Commands                                            rsync(1)

          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. It should contain just the password as a sin-
          gle line.

Headers, Environments, and Macros                  rsyncd.conf(5)

     auth users
          The "auth users" option specifies  a  comma  and  space
          separated  list  of  usernames  that will be allowed to
          connect to this module. The usernames do  not  need  to
          exist  on the local system. The usernames may also con-
          tain shell wildcard characters. If "auth users" is  set
          then the client will be challenged to supply a username
          and password to connect  to  the  module.  A  challenge
          response  authentication  protocol  is  used  for  this
          exchange. The plain text usernames  are  passwords  are
          stored  in  the  file  specified  by the "secrets file"
          option. The default is for all users to be able to con-
          nect  without  a  password  (this  is called "anonymous

     secrets file
          The "secrets file" option specifies the name of a  file
          that  contains  the  username:password  pairs  used for
          authenticating this module. This file is only consulted
          if  the  "auth  users" option is specified. The file is
          line  based  and   contains   username:password   pairs
          separated  by  a single colon. Any line starting with a
          hash (#) is considered a comment and  is  skipped.  The
          passwords can contain any characters but be warned that
          many operating systems limit the  length  of  passwords
          that  can  be  typed at the client end, so you may find
          that passwords longer than 8 characters don't work.

Tim Conway
tim.conway at philips.com
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
".\n" '
"There are some who call me.... Tim?"

Francois Chenais <francois at chenais.net>
Sent by: rsync-admin at lists.samba.org
05/07/2002 08:20 AM

        To:     rsync at lists.samba.org
        cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        --passord-file doesn't work


                 I have this error while using --password-file= option.
                 Any idea.


tamtam:/etc# rsync --password-file=/etc/rsyncd.secrets backupcvs at cvs::cvs/ 

@ERROR: auth failed on module cvs
rsync error: partial transfer (code 23) at io.c(143)

                 All seems OK

tamtam:/etc# ls -ltr /etc/rsyncd.secrets 
-rw-------    1 root     root           23 May  7 18:12 

tamtam:/etc# id
uid=0(root) gid=0(root) groups=0(root)

To unsubscribe or change options: 
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

More information about the rsync mailing list