> restart command, but when I run the script, of course it asks for the
> user password at each machine. after the password is entered, it
> runs the rest of the script (i.e. the shutdown command) in the
> background and proceeds to ask me for each and every password down
> the line. is there a way to enter the password once at the
> beginning and store it as a response to the rest of the machines?
> or just store it period and I'll give the script root only
> privileges. it's lousy having to enter 50 of the same password.
Use ssh protocol 2 keys; no password entry req'd... it really just
takes a key gen, copy the public key over, and connect once to make
sure the computers are on the known hosts list. Once you set it up,
it really is cool and fast and easy and you'll be glad you did. If
you feel really brave you can even eliminate root passwd on the other
machines, but of course I would not recommend that except for special
cases :).
~ Daniel
________________________________________________________________
The best thing to hit the Internet in years - Juno SpeedBand!
Surf the Web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:41:16 EDT