Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with 10.14+ and DEP Enrollment #30

Open
kylejericson opened this issue May 20, 2019 · 6 comments
Open

Issue with 10.14+ and DEP Enrollment #30

kylejericson opened this issue May 20, 2019 · 6 comments

Comments

@kylejericson
Copy link

I tested this with DEP enrollment and the AutoLogin doesn't work. I had to repackage the .pkg and add the kcpassword file to fix the issue.

@gregneagle
Copy link
Owner

I don't use DEP enrollment so I have no way to test and/or address this issue. Looks like a nice task for another Mac admin to contribute...

@gregneagle
Copy link
Owner

That seems (to me) to be the expected behavior: that autologin means "after booting, automatically log into this account". I would not expect it to immediately work after an install on an already booted system.

@kylejericson
Copy link
Author

kylejericson commented May 20, 2019 via email

@kylejericson
Copy link
Author

kylejericson commented May 20, 2019 via email

@kylejericson
Copy link
Author

kylejericson commented May 21, 2019 via email

@kylejericson
Copy link
Author

I did more testing on this today.
If I create this PKG to match my account created in Prestage (DEP) enrollment in Jamf it doesn't auto-login after a reboot.

If I just install this PKG outside of DEP it works fine after a reboot.

The workaround as outlined in my blog.

  1. Open the PKG in Jamf Composer
  2. Edit the pre-install script
  3. Add this to the end of the code
  4. Replace myprestageaccount with your account you made in the PKG

defaults write /Library/Preferences/com.apple.loginwindow.plist autoLoginUser -string myprestageaccount
sudo installer -store -pkg "/tmp/DEPNotify-1.1.4.pkg" -target /
sudo shutdown -r now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants