• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 447
  • Last Modified:

rdist

what is rdist
how it works
please explain with an example

Thanks,
Rahul
0
shahrahulb
Asked:
shahrahulb
3 Solutions
 
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
 
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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now