tag:blogger.com,1999:blog-19023061.post2073803039387658167..comments2023-03-16T10:45:34.639+00:00Comments on Wawrzyniec NiewodniczaĆski in English: Expect and operation on many computersWawrzekhttp://www.blogger.com/profile/12537908697081902130noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-19023061.post-34521625857196717792009-08-24T00:52:05.612+01:002009-08-24T00:52:05.612+01:00I would like to agree with rozie.
His comment ha...I would like to agree with <b>rozie</b>. <br /><br />His comment has helped me to develop another solution. This one required having user account with <i>sudo</i> on all machines. <br /><br />Doing in the loop <b>ssh $machine sudo $command</b> should work, with remote access to root acount, but in such case script needs <i>expect</i> to feed <i>sudo</i> password.<br /><br />BTW. We are using puppet, but this was a file not controlled by it.Wawrzekhttps://www.blogger.com/profile/12537908697081902130noreply@blogger.comtag:blogger.com,1999:blog-19023061.post-29317869371602553052009-08-22T06:35:01.762+01:002009-08-22T06:35:01.762+01:00Works only if you have the same password on all ma...Works only if you have the same password on all machines, and login directly to root account permited, right? Another useful solution for this may be clusterssh. And running puppet or cfengine as ultimate solution.roziehttp://rozie.blogdns.net/noreply@blogger.com