rdist

what is rdist
how it works
please explain with an example

Thanks,
Rahul
LVL 1
shahrahulbAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TintinCommented:
rdist is typically used to keep directories between two or more systems in sync.

However, most people use rsync these days as it is more more efficient and secure.

See http://rsync.samba.org/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wesly_chenCommented:
Hi,

  rdist: Remote DISTribution
It maintains identical copies of files over multiple hosts. It preserves the owner, group, mode, and mtime of files
if possible and can update programs that are executing.
It's server-client base. rdist will run rdistd on remote hosts to allow rdist client transfer files over.
It uses rsh or ssh (more secure) to make connections to remote hosts,

For more details, please check the following URL:
http://www.magnicomp.com/rdist/
http://www.magnicomp.com/rdist/7.0/doc/rdist.html  <=== Man Page

Regards,

Wesly
0
yuzhCommented:
rdist - remote file distribution program

To setup rdist (you need to setup .rhosts file in the remote machine to trust your
file distribution box).

the rdist, use the following syntax:

 rdist -f distfile


a sample of distfile file:

    HOSTS = ( hermes root@magus )

     FILES = ( /usr/local/lib/libcant.so.1.1
               /usrlocal/lib/libcant.sa.1.1 /usr/local/include/{*.h}
               /usr/local/bin )

     (${FILES}) -> (${HOSTS})
           install -R ;
     ${FILES} :: /usr/local/lib/timestamp
               notify merlin@druid ;
# End of  distfile file

man rdist to learn more details.




required FILES
     ~/.rhosts user's trusted hosts and users


0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.