Updating to macOS 10.12.4 was an unhappy day that cost me two days of headaches from the sudo problem.
This time, I made a clone backup of the boot drive before updating, just in case.
Paul R writes:
Mac OS 10.12.5 and 10.12.4 are still problems for me and my 40" 4K monitor on my Mac Pro (late 2013). The problem is I can't control the Night Shift feature. After install and restart, the Night Shift feature is always on and no way to turn it off in the Display control panel. It's a known problem. Here's a few links which identify the problem and some possible indirect (and undesirable for me) ways to control it.
I'm going to wait for next Mac OS update and hope fixed then. Until then, I've again reverted back to 10.12.3.
MPG: I had no trouble with NightShift with the NEC PA322UHD 4K display, but in the end I decided against using Night Shift at all, and disabled it. The color shift was unacceptable for my work.