title: zlogin usage in Runeck task
body: <p>As part of rundeck task i'm trying to login to a global zone, use the command zoneadm list and trying to login to each of the local zone [to shut down various apps &amp; to issue reboot] using the command <code>/usr/sbin/zlogin</code> and execute hostname command to ensure it did login to localzone
  however this is not working</p>
  
  <p>Is there a better way to do this? Please guide</p>