Good morning fellow Jamfers...
Having a problem getting a trusted certificate into Firefox for an existing account (I already know how to get it to update when a new Firefox profile is created).
Am able to get it into the keychain, but since Firefox creates a unique profile name for each user, cannot get Casper to replace the file in the proper directory.
We are not authenticating to a source yet (so only local logins) so the $3 parameter doesn't appear to produce a result.
The script works running locally on the system - the line I'm having a problem with is:
cd $HOME"$ffprofdir"
Since Casper runs as root, it's changing over the the HOME directory for the root user, not the logged in user. Jamf suggested copying the script locally and having a policy launch it locally using something like:
su -l $3 -c "sh /path/to/scrip.sh"
OR compile it in a DMG and launch the script like:
su -l <username> -c "sh /path/to/scrip.sh"
Neither of these worked. Any help is greatly appreciated!
Thanks in advance,
Nick LaTronica
East Brunswick Public Schools