Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-16-2003, 12:42 AM   #1
LQ Newbie
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Question Rsync Auth user problem

I have setup a Rysnc server in Mandrake 9.1
When I add a auth user into my Rsync.conf and rsync.secrets,
it do not work, everytime it shows
[root@html]# rsync chris@mandrake82::XXXXX/.html/. /
@ERROR: auth failed on module XXXXX
rsync: connection unexpectedly closed (89 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

This is my rsync's config file
path =/Nukephp
comment =
use chroot
auth users = chris,
secrets file = /etc/rsyncd.secrets

This is my secret.files
Old 08-16-2003, 06:50 AM   #2
Registered: Aug 2003
Posts: 134

Rep: Reputation: 16
might be comma after chris in auth file?
Old 08-16-2003, 07:44 AM   #3
Registered: Aug 2003
Posts: 134

Rep: Reputation: 16
rsync chris@mandrake82::XXXXX/.html/. /

also, i will tell you what i make of this and let me know if this is right and what you are after? you want to rsync to your / directory from mandrake82's :XXXXX/.html/. directory?

does rsync work normally?

i mean,

does this work for you?

make a directory called /root/rsynctest on both machines.

copy some data info the directory just made. make the two files different. different names or whatever.

then try:

rsync -vazu root@mandrake82:/root/rsynctest/* /root/rsynctest/

does this work?

if rsync works then sorry for asking. just need more info to help.

also, if you need more info on rsync, i can help i think. and i thought secrets file was only supposed to have password, unless chris:chris is password. let me know what your experience is with rsync and if you have had it work before. don't know level of complexity i need to start explaining at.

have you looked at man page for rsync?

sorry if no help. just need to know what you have done with rsync?
Old 08-17-2003, 10:02 PM   #4
LQ Newbie
Registered: Aug 2003
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for your reply
I found something special in test
If I use mandrake82:rsynctest/*, it not works.
If I use mandrake82::rsynctest/*, it works

I have test minor change of a file, and it syncs the files.

About the secrets.file, I read the man page and it said the password format is
So, I try username chris and password chris.

Is there special setting in the file permission on secrets.file?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
user auth for mrtg debloxie Linux - Networking 3 10-10-2005 03:16 PM
user auth for mrtg debloxie Linux - Networking 0 10-05-2005 12:13 PM
User Auth For Mrtg debloxie Linux - Networking 0 09-29-2005 11:26 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM
Imap - Pop3 Auth with user@domain instead username using virtusertable gakullak Linux - General 1 09-04-2004 05:34 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration