How do I create user/Local/etc folder for .pem files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 09-15-2022 07:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 09-15-2022 09:27 AM
Do you mean /usr/local/etc/ or ~/local/etc/
You can build a package that installs the .pem files into each user's home folder if you use the FEU option (package must be saved as a .DMG not .PKG).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 11-16-2022 08:58 AM
First, I was wondering about the same point as jcarr (above). It seems like are more likely to need /usr/local/etc... But the thing is that I have been doing this a long time so I just went and looked it up on their site (https://help.lightspeedsystems.com/s/article/relay-smart-agent-prerequisites?language=en_US)
Here is how I prep software like this one for Jamf deployments.
First, I was wondering about the same point as jcarr (above). It seems like are more likely to need /usr/local/etc... But the thing is that I have been doing this a long time so I just went and looked it up on their site (https://help.lightspeedsystems.com/s/article/relay-smart-agent-prerequisites?language=en_US)
Here is how I prep software like this one for Jamf deployments.
- Open/create the directory you need
- Copy the files you want to deploy into the correct directory
- Fix permissions, ownership, and any quarantine attributes
- Open the directory in the Finder
- Copy the path, the install command, and any other notes to a text file
- Open Jamf Composer
- Copy the install directory into Jamf Composer (drag it over to the sources list)
- Check the files in composer to be sure you like the permissions, make any changes needed (delete any unneeded files, etc)
- Hit the Build As DMG button (at the top), pick a directory....
- Take the DMG and drop it into Jamf Admin
- Find the DMG in Jamf Admin (hint: Category = unknown), it will be highlighted with blue text
- Click on the Info button and enter the Description (what it is, the files with full path, etc) and Notes (name, version info, and date)
- Now go to your Jamf console and create the policy you need to distribute the dmg.
Steps 1 through 4 can be accomplished at the command line. Let's assume I have the files I need at my Desktop in a directory called 'Lightspeed'.
sudo mkdir -p /usr/local/etc
sudo cp -vR ~/Desktop/Lightspeed/*.pem /usr/local/etc
sudo cp -vR ~/Desktop/Lightspeed/*.dat /usr/local/etc
sudo chown -Rv root:wheel /usr/local/etc* [Note: I guessed about the root:wheel part]
sudo chmod -Rv 744 /usr/local/etc/* [Note: I guessed about the 744 part]
sudo xattr -rs -d com.apple.quarantine /usr/local/etc/*
open /usr/local
Does this make sense?
One more thing. I noticed in the Lightspeed page they recommend that you have their files added to the exempt list of any anti-virus clients. I would follow that advice. ;-)
