So, this isn’t going to have much instructions along with it. If you are on High Sierra and especially on High Sierra with JAMF and having issues with users seeing full progress bars that never go away after the log in, and get a too many corpses error when booted in verbose mode (CMD+V on power on), these instructions should allow recovery.
Recovery time with this method is about 2 hours, although it can be left unattended for long periods.
- Boot into recovery mode with cmd+r and unlock drive in Disk Utility
- Launch terminal and delete /var/db/.AppleSetupDone
- Reinstall the OS from recovery mode
- Once it reboots, unlock disk from login screen to launch the setup wizard
- Create a new user and login, and complete setup to get to new user’s desktop
- Launch terminal and run `ls /Users` to find old user
- Go into system preferences and make a new account using a unique account name
- Right click on the newly made account and select advanced options
- Set up the account name and home directory to that of the user you wish to restore, making sure to write down the new user id
- Navigate to the /Users directory in Finder and right click the old home directory and click ‘sharing permissions’
- Unlock the panel with the lock in the bottom right and make sure the permissions are set to read and write
- Click on the gear in the window and select ‘apply to enclosed items’
- From finder, Run `diskutil resetUserPermissions / <insert user id recorded earlier>`
- Reboot into recovery, and from terminal run resetpassword and choose the “unable to login” option.
- Set a new password, reboot and user can now log in.
We’re addressing this issue where I work now, and, I want to get instructions out there as these seems to be an issue with the latest High Sierra updates released for Spectre and Meltdown (10.13.2 and 10.13.3). Hopefully it helps! If you know what causes this and how to prevent it, please comment!