Install with Root access

Sobchak
Contributor

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 2

davidacland
Honored Contributor II
Honored Contributor II

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.

Look
Valued Contributor III

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.