Posted on 2004-11-29
Last Modified: 2010-04-21
what is rdist
how it works
please explain with an example

Question by:shahrahulb
    LVL 48

    Accepted Solution

    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.

    LVL 38

    Assisted Solution


      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:  <=== Man Page


    LVL 38

    Assisted Solution

    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/
                   /usrlocal/lib/ /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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now