<<been having the same shutting down issue. I just got a new logic board <<installed, brought it home and it did the same old shut down. Checking the <<temperatures and console I see that i too had the 'temp exceeded for 30 <<seconds' error, etc.
<<Are you suggesting that the only fix is the 'installation of CHUD 3.5.2 with <<'nap' feature enabled (covered in a previous post), a foil heatsink attached <<to the HD (this lowered HD temps 15+ degrees F) and of course frequent <<vacuuming of the cooling passages and vents.' ???>>
No. You have a hardware problem that hasn't been corrected yet. Return your computer to the repair facility and have the problem corrected.
You have an Isight G5, so you can't add an internal HD heat sink; they're not internally user serviceable. I have an ALS Model, which I added the HD heatsink to and reduced HD temperatures significantly.
Using CHUD (an Apple utility) is ALWAYS a good idea, since the all-in-one design of the Imac coupled with the heat produced by the G5 970 chip means that these things generate a lot of heat and temperatures run much higher than a comparable G5 tower.
CHUD 3.5.2 is simply software (from Apple) that allows the processor to 'nap' between cycles when not at high usage and reduces processor temps pretty dramatically. I've not noticed any performance decrease, having used it on G4s as well as all my current G5s.
Once your machine is repaired correctly, it will run without reaching shut-down temperatures.
Be wary of advice on this board that the Imac PPC G5 temperatures are 'normal' and not a critical issue. Heat is always the enemy of electronics; doing what you can to keep it in check is prudent and will prolong your machine's operating life.
Good luck.