There is no administrator logged in to these machines? I ask because it does not happen as long as someone has ogged in.
Yesterday morning, I have tested this again on all three of my Machines. 2 are personal and one is for work which has never had any account transfers or even so much as a remote connection to any of my other machines. It is consistently reproducible on these three entirely different machines and OS versions. They each have shut down from the log in screen exactly 5 minutes after boot. Again, only after no activity or log-in. That is, completely shut down—not in sleep mode. It would be very far fetched to think this is a bug. If so, it seems to so prevalent that I would expect it to be reproducible on at least some, if not all of the machines of the users in this thread.
This is consistently reproducible on all three of the Macs in my possession. I have tested it again this morning.
- Mac Pro (Late 2013) - 10.11.6 El Capitan
- MacBook Pro (17-inch, Early 2011) - 10.10.5 Yosemite
- MacBook Pro (Retina, 15-inch, Late 2013) - 10.9.5 Mavericks
There are no log messages for the time the auto shut down happens, but here are the times of restart, reboot and the corresponding logs from one of the machines:
- Reboot initiated at 9:02:30 AM
- Mac had rebooted to login screen at 9:03
- Auto shutdown at 9:08 (5 minutes after log in screen visible)
- Mac was manually started again at 9:10:41AM
Logs during that time:
{code}
2/27/17 9:02:31.291 AM shutdown[1528]: reboot by [username]:
2/27/17 9:02:31.000 AM kernel[0]: Kext loading now disabled.
2/27/17 9:02:31.000 AM kernel[0]: Kext unloading now disabled.
2/27/17 9:02:31.000 AM kernel[0]: Kext autounloading now disabled.
2/27/17 9:02:31.000 AM kernel[0]: Kernel requests now disabled.
2/27/17 9:02:31.291 AM shutdown[1528]: SHUTDOWN_TIME: 1488204151 290568
2/27/17 9:02:31.291 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.system) System shutdown initiated by: shutdown.1528<-sessionlogoutd.1527<-launchd.1
2/27/17 9:02:31.000 AM kernel[0]: Process launchd [1] disabling system-wide I/O Throttling
2/27/17 9:02:31.000 AM kernel[0]: Process launchd [1] disabling system-wide CPU Throttling
2/27/17 9:10:41.000 AM bootlog[0]: BOOT_TIME 1488204641 0
{code}
I would be very interested to see what your results are. Can you restart your mac and wait for 6 minutes at the log in screen without taking any action?