Skip to main content
Question

Install with Root access

  • June 19, 2015
  • 2 replies
  • 11 views

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.

2 replies

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.