We have the majority of our laptops running Big Sur on M1 MacBook Airs. JAMF Support has told us that Apple is aware of an issue with macOS 11 and the curfew settings in the Parental Controls payload policy. We are trying to put together an alternative method of enforcing curfew by scoping a policy to a smart computer group that will run at the recurring check-in frequency of the device and do nothing if the time is outside of the curfew range, or execute "sudo shutdown -now" if the device is inside the curfew range.
We would then have a second script that would run with a login trigger that would again check the time and do nothing if outside the curfew range, or again, run sudo shutdown -now if inside the range. It would be annoying, but effective and would prevent the user from continuing to use their device if inside the curfew window. If we didn't have the second script running at log in, then the user could continue to use their device for another 15 minutes until the next check-in time.
Anyone have any ideas of where we could start developing this plan of action, or have any scripts they would like to share? I appreciate the help and am hopeful that curfew will begin working again in Monterey, which JAMF Support mentioned should fix the issue. We just don't know how long it will be before all 1000+ devices are upgraded.
Thanks in advance!
