Mailinglist Archive: opensuse-security (547 mails)

< Previous Next >
Re: [suse-security] RPM-Update on all boxes in a LAN
  • From: Roman Drahtmueller <draht@xxxxxxx>
  • Date: Mon, 27 Nov 2000 12:38:54 +0100 (MET)
  • Message-id: <Pine.LNX.4.21.0011271237150.2192-100000@xxxxxxxxxxxx>
> And I think, some month ago, I have read about a scripting-language for system
> administrators, but I don't remember where.
> Anybody, who can help me.
>

The scripting language is the shell. I do it this way:

for i in host1 host2 host3 ...; do
scp update.rpm root@$i:.
ssh root@$i rpm -Uhv update.rpm
ssh root@$i rm -f update.rpm
done


Talking ssh: There will be a reissued announcement in the evening.

Roman.
--
- -
| Roman Drahtmüller <draht@xxxxxxx> // "Caution: Cape does |
SuSE GmbH - Security Phone: // not enable user to fly."
| Nürnberg, Germany +49-911-740530 // (Batman Costume warning label) |
- -


< Previous Next >
References