#!/bin/ksh

. /opt/platform7/lbin/profile

# copies common hosts file on CS to RSPs

#for f in m001
for f in `/opt/platform7/lbin/list_processors -sw` m7altsrv
do
   rcp /etc/hosts $f:/etc/hosts
   remsh $f "chmod 644 /etc/hosts"
   remsh $f "chown root:sys /etc/hosts"
#   rcp /root/.rhosts $f:/root/.rhosts

done
