Q: terminal command to lock and unlock the dock?
Hello,
I manage hundreds of iMacs running Yosemite at a school site. I use parental controls with the lock dock feature turned on. I would like to periodically unlock the dock to customize it with new icons, but have not found a terminal command that works, or a streamlined process that is time efficient.
So far I have been individually unlocking the dock in parent controls on each machine, restarting, editing the dock, then re-locking it parental controls, then restarting. This takes 5-10 minutes per machine).
I also tried this command but it didn't work.
defaults write com.apple.dock contents-immutable -bool true; killall Dock;
I also tried cloning the parental controls with an exported plist file to all the machines using ARD, which works for all the parental control settings EXCEPT for the lock dock feature.
Any ideas?
Cheers,
Crystal
iMac, OS X Yosemite (10.10)
Posted on Dec 3, 2014 11:25 AM