Skip to main content
Question

Install with Root access


Forum|alt.badge.img+8

I have a Unix Executable file that requires root access that I need to deploy to all my Macs. I have the manual instructions working, but I would prefer to push it via Casper. Is this possible? Can someone walk me through the necessary steps. Thank you all for you help.

davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • June 19, 2015

Hi,

This will just be a case of dragging the file into Composer to create a package, uploading with Casper Admin, then deploying via a policy.

In composer, you just have to make sure it has the ownership and permissions you need for it to run.


Forum|alt.badge.img+16
  • Valued Contributor
  • June 22, 2015

If your wanting to actually run the file as root after deployment do it as follows.

Place the file on your own machine in a convenient location.
Drag it from there into the side bar of Composer to make an installer containing just it.
Check its ownership and permissions with Composer.
Package as a DMG
Import it in the JSS using Casper Admin.
Create a script in the JSS to run the file directly.
Create a policy to deploy the DMG and the script with the script set to "Run After".

Casper will both deploy the executable and then call it from the script as root.


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