LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-12-2014, 03:51 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
Help understanding rsync command


I am looking at an rsync command on a production server I inherited. It looks like this:

rsync -trz --password-file=<file> fax@destination::FAX <source directory>

I understand the password file, that exists and has a password in it.

The <source directory> exists on the machine running this, and it gets populated with files like it should.

the destination is a valid machine on the network.

What I don't understand is:

1) The user fax@destination does not exist. There is no user on that computer called fax. It is not in passwd, and you can't login with that account.

2) What does the source of ::FAX actually represent? There is no directory called FAX. What exactly is fax@destination::FAX? "fax" is not a user, and I have no idea what FAX means. The machine has hylafax installed, and this command copies fax results, but how?

Any ideas on what I'm missing?
 
Old 11-12-2014, 04:05 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
The double colon is telling the rsyncd on the server side to use settings from the FAX module section defined in your rsyncd.conf file.

Usually /etc/rsyncd.conf
 
1 members found this post helpful.
Old 11-13-2014, 07:58 AM   #3
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by szboardstretcher View Post
The double colon is telling the rsyncd on the server side to use settings from the FAX module section defined in your rsyncd.conf file.

Usually /etc/rsyncd.conf
Huh... I had no idea. Indeed, it is right there like you said it is. Everything - path to files, account to use, authorized user name, all in rsyncd.conf. I had no idea you could do that...

TYVM!!!!
 
  


Reply



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
Need help understanding where this rsync script gets it's data Thaidog Programming 2 04-14-2011 09:17 AM
Need help understanding a command henrtm05 Programming 4 09-26-2010 01:57 PM
rsync problems, can you look at my command? - Rsync gurus. Spuddy Linux - Software 4 09-21-2010 10:25 AM
[SOLVED] Moving install to new hard drive (Fc12) Understanding mount, grub.conf, and rsync thezerodragon Linux - Newbie 5 06-05-2010 11:23 AM
help understanding this command vince_2x Linux - General 4 09-21-2004 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:01 PM.

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