Has Linux patching surpassed Mac and Windows? (ZDNet)
Has Linux patching surpassed Mac and Windows? (ZDNet)
Posted Mar 17, 2006 9:38 UTC (Fri) by kornak (guest, #17589)In reply to: Has Linux patching surpassed Mac and Windows? (ZDNet) by drag
Parent article: Has Linux patching surpassed Mac and Windows? (ZDNet)
I'm a little curious how you use ssh with yum and why?
Posted Mar 17, 2006 12:03 UTC (Fri)
by drag (guest, #31333)
[Link] (1 responses)
My experiance is mostly with apt-get. I just write a script to send commands to bunches of different machines with ssh. Something based around the idea of going like this:
Of course if the deb package asks for some input it will kinda of throw a wrench into it.. but debconf is configurable for the sort of questions it asks. The nice thing about it is that it's usefull for lots of different stuff other then just installing or updating software. It's easiest when you have something like kerberos setup.
Of course I make it more complex with logging output and have it report weither or not the job completely successfully and whatnot.
There are also programs like Batch Manager Login that is something that you can use for a more widespread environment with multiple different authentication scemes. http://batchlogin.sourceforge.net/ Probably much better then anything I make up on the fly.
Posted Mar 18, 2006 10:48 UTC (Sat)
by gdt (subscriber, #6284)
[Link]
<p>The combination of yum and cfengine is pretty typical when administering large numbers of RHEL/FC machines.</p>
I donno. Is there a better way to use yum remotely?Has Linux patching surpassed Mac and Windows? (ZDNet)
for i in list-of-machines; do ssh $i "apt-get --yes install blah" ;done
<p><i>I donno. Is there a better way to use yum remotely?</i></p>Has Linux patching surpassed Mac and Windows? (ZDNet)
