What I have done works but not what I was hoping for, it is as follows:
#!/bin/sh
set -- $(cat /FILE_THAT_CONTAINS_HOSTNAME)
while [ "$1" != "" ]
do
rlogin $1
shift
done
The problem is that I would prefer to do somthing along the lines of RSH or on the HPs REMSH, but that utility will not support the returns from the commands since they are waiting for input. I was curious if there is a way in AWK or something else that will supply the information for the return of either RLOGIN or RSH. In summary a script command or Unix Utility that will connect to different host in a logfile as root and change the password to a presupplied password. If this is not possible and I have already set up the easiest way to do this, although slow and cumbersom, that is fine I just like to automate as much as possible.
Thanks for any additional input
-Brian