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?
Su – patrol –c “cd /tmp/patrol;./install.nsh”