[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rdist as root?



Larry Daffner writes:
 > 
 > Dirk Luetjens writes:
 > -> 
 > -> How can I invoke a rdist command as root to distribute the /usr/local/
 > -> tree to the other computers in the network?
 > 
 > First, make a file "distfile", which will look something like:
 > 
 > =====
 > MACHINES = ( machine-a machine-b machine-c )
 > FILES    = ( /usr/local )
 > 
 > ${FILES} -> ${MACHINES};
 > 	 install ;
 > ======
 > 
 > Save it as, say, /etc/distfile, and then just rdist -f /etc/distfile
 > 
I forgot to say that the problem is when rdist trys to login into a
remote machine using rsh. This is denied for root. The solution was to
have a .rhosts file in the root's homedirectory.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: