Thanks. That didn't solve my question but it did point me in the right direction. I forgot I could log onto the hosts as root, like in that script and once I did that I could get them shutdown OK and didn't have to worry about the permissions for the other account. For now I've just hardcoded the script to the host the vCenter VM is on as I only have 3 hosts and I don't move the vCenter VM around so this should work for me. Thx!
↧