So, I am having a bit of issues importing MCX to a specific account post image. My post image script creates all local user accounts, and it uses the jamf binary to do so. This works fine, however, I also have this line:
dscl . -mcximport /Users/student /Volumes/CasperShare/Scripts/studentmcx.plist
Now, after I image a machine and mount the casper share manually, this works like advertised. All mcx settings are imported to that account. However if I do this in my post image script it doesn't work. Same exact code.
I have tried scripting the local admin to log in first and run the code, and scripting the student account to log in and then importing the MCX settings to the account. It doesn't seem to work until I actually do it myself.
Any ideas? This is how I need to import MCX settings to this specific account and I really need it to work on my post image script.
Thanks,
Tom
