1 Reply Latest reply on Nov 4, 2011 10:32 AM by Bill Robinson

    Running .sh installers as non-root

    Mike Reider

      Hey everyone,


      we have a Patrol agent installer (.sh) that we are trying to install via Blade to target AIX and Linux servers. This agent installer needs to be run as a "patrol" user account, not as "root"


      This creates problems when deploying via Blade since the BLPackage that contains install instructions has this line:


      # cd /tmp/patrol/

      # su - patrol

      # sh install.sh


      when I execute the job, the bldeploy log shows it parses the script up to 'cd /tmp/patrol' and doesnt see the "su - patrol" (I'm guessing since once the session is not a root anymore, Blade has no access to the target)


      Is there a way to install packages as a non-root account via Blade?