Shell script deployment and execution for all users

znsiddiqui
New Contributor

Hello

I am new to Jamf and Casper, We have our Mac's bind to AD, and for each user that logs in to the workstation I want to run a shell script I wrote.

There are two things I am trying to accomplish

  1. Have jamf run/deploy the script for each user that logs in to a workstation (a user can login to multiple workstations).
  2. Have its so in Finder the preferences for it show hard disk, external disk, Connected Servers

any help would be greatly appreciated.

1 REPLY 1

stevewood
Honored Contributor II
Honored Contributor II

@znsiddiqui is the purpose of the script to set the settings you mentioned in point 2? If so, you do not have to do that with a script. You can set those with a configuration profile instead.

Create a Configuration Profile that uses the Finder payload to set the settings that you mentioned. It's much easier than trying to deploy a script to each machine to handle this.