Marketplace:

Buy cheap domains and domain transfer service with free domain hosting features
Affordable domain name hosting and webhosting for small business
Register cheap domain name by cheap-domainregistrar.com 

 

   

Using rdist

next up previous contents index

The rdist package can be used to update files on a collection of hosts from a central host. This is what I do from Altrop (98.22) where the password and group files are maintained.

On Altrop (98.22) in /root/distfile I have the following:



  KTNET = ( inco punto cultus festival atom brick prefect )

  FILES  = ( /etc/passwd /etc/shadow /etc/group /etc/gshadow 
             /etc/apt/sources.list /etc/printcap /etc/resolv.conf )

  ${FILES} -> ${KTNET} 
                  install -oyounger,chknfs,savetargets;


Thus I have seveb hosts that are updated with seven files from altrop. The options for install include: younger so that if the remote host has update the files they won't be updated from altrop, and instead I need to have a look at them to see what has changed; chknfs so that NFS mounted files are not updated; and savetargets so that old copies are placed in .OLD files so I can then compare what has changed!

The command to do the update is:



  # rdist -F -P /usr/bin/ssh


This will use ssh to communicate and will do it serially (-F) so that the passwords that are asked for don't interfere with each other!


next up previous contents index


Copyright (c) 1995-2004

 

      

Marketplace:
Facts: " If your computer speaks English, it was probably made in Japan.   "  

Tuesday 22 May 2012 22:37:39 1337726259