Skip to main content
Question

Auto Login with macOS 10.14+ and DEP

  • May 15, 2019
  • 5 replies
  • 11 views

KyleEricson
Forum|alt.badge.img+17

I have tried the solution at the bottom of this post and it doesn't seem to work.

auto-login-local-user

Has anyone gotten this to work with DEP and the script method in this post?

5 replies

Forum|alt.badge.img+11
  • Valued Contributor
  • May 15, 2019

@kericson I created a pkg that creates a kcpassword file for the user and has a post install script that runs:

defaults write /Library/Preferences/com.apple.loginwindow.plist autoLoginUser -string username

I then created a new policy that delivers this package when enrolment is complete via dep and set the policy to restart at the end.

Seems to work fine for me.


KyleEricson
Forum|alt.badge.img+17
  • Author
  • Valued Contributor
  • May 15, 2019

@allanp81 Can you share how you created this? Does this work with DEP?


Forum|alt.badge.img+11
  • Valued Contributor
  • May 15, 2019

@kericson I just used Jamf Composer and created a new package and described above and yes it works with DEP.


KyleEricson
Forum|alt.badge.img+17
  • Author
  • Valued Contributor
  • May 15, 2019

@allanp81 I was able to get this to work only after I do a restart. I have two local admin accounts that DEP creates. 1. Is the jamf management account which is not hidden 2. This auto login account.
Do you only have one local account?


Forum|alt.badge.img+11
  • Valued Contributor
  • May 16, 2019

I have a hidden management account and then an account that gets created during enrolment. Yes it requires a restart once applying the plist change.