Skip to main content
Question

Run app from script without user intervention


Forum|alt.badge.img+2

I am trying to create a policy to install our McAfee EPO agent through and almost have it done but have run into an issue. The app installs into the application folder no problem but needs to be opened for the first time to finish downloading the necessary files and complete the installation (it does all this automatically once the app is opened for the first time). I added a script to the policy, a simple open command to accomplish this and it was successful. The issue is that to open the first time it requires an admin password to do so. I would like to remove the prompt asking for the password so that the rest of the installation would proceed without user intervention. This is the script I'm currently using.

open -a /Applications/McAfeeSmartInstall.app

2 replies

mickgrant
Forum|alt.badge.img+12
  • Contributor
  • 140 replies
  • May 21, 2019

have a look into authbuddy to edit your security settings on the app to allow it to open without admin prompt.


Forum|alt.badge.img+18
  • Contributor
  • 475 replies
  • May 22, 2019

This might help:

https://docs.mcafee.com/bundle/agent-5.5.0-product-guide-epolicy-orchestrator/page/GUID-29623690-F155-48FE-AEEA-CE9E50F711C3.html

/Library/McAfee/Agent/bin/cmdagent /h

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings