Use slogin to access host. Use telnet to access host. Next argument is taken as program to run to set password. Next argument is taken as a prompt suffix pattern. This allows the script to know when the shell is prompting.
Next argument is number of seconds to wait for responses.
Default is 30 but some systems can be much slower logging in. The best way to run Passmass is to put the command in a one-line shell script or alias. Whenever you get a new account on a new machine, add the appropriate arguments to the command. Then run it whenever you want to change your passwords on all the hosts. It should be obvious that using the same password on multi- ple hosts carries risks.