Posted on 05-15-2019 06:05 AM
I have tried the solution at the bottom of this post and it doesn't seem to work.
Has anyone gotten this to work with DEP and the script method in this post?
Posted on 05-15-2019 06:40 AM
@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.
Posted on 05-15-2019 08:08 AM
@allanp81 Can you share how you created this? Does this work with DEP?
Posted on 05-15-2019 08:36 AM
@kericson I just used Jamf Composer and created a new package and described above and yes it works with DEP.
Posted on 05-15-2019 09:25 AM
@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?
Posted on 05-16-2019 01:39 AM
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.