/build/static/layout/Breadcrumb_cap_w.png

Mcafee agent on Mac OSX

Hi,

 

Has anyone gotten McAfee Agent (epolicy) to deploy on a Mac OSX. I've tried repackaging it in composer. Running the sh script from a kscript, running the shell script as an online script but I can't seem to get it to work.

 

Thanks,

 

Mike


0 Comments   [ + ] Show comments

Answers (2)

Posted by: ms01ak 11 years ago
10th Degree Black Belt
0

I think it was either because of the types of script that needed to be run or I think I found that when you combined the scripts it didn't work because the chmod couldn't find the epolicy folder.  There was something wierd, but I can't remember what exactly it was.

Posted by: ms01ak 11 years ago
10th Degree Black Belt
0

I've figured out how to get McAfee Agent working on a Mac OSX and thought I'd share it.

 

There's two scripts:

 

Script 1:

1) Create a script, add the dependency file which contains a zipped version of mcafee agent (install.sh)

     -The install.sh contains zip data itself, so I wanted to avoid corrupting the file and felt it was best to zip it.

2) The script should unzip the dependecy file ($(KACE_DEPENDENCY_DIR)/install.zip to stanard location such as /library or /application

 

Script 2:

 

1) Create a online shell script it should contain:

 

chmod +x /directory of the unzipped/install.sh
exec directory of the unzipped file/install.sh -i

 

Now you must run script 1) before script 2) but when script 2 runs it will either install correctly or send back the mcafee error codes. If you receive error code 126 it means that the file could not be found and that the first script wasn't run.

 

Cheers,

 

M

 

 


Comments:
  • Thanks for sharing. I tried it and it worked, though I'm wondering why it has to be split into two separate scripts/steps and why doesn't it work to call the shell script directly from the dependency dir? Just curious if you, or anyone, had any ideas about that. Again, thanks for sharing - it works! - Timmo 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ