MagerValp / CreateUserPkg

This project has been archived and is no longer maintained
263 stars 43 forks source link

autoLoginUser key disappearing on reboot #36

Closed etippett closed 10 years ago

etippett commented 10 years ago

Using version 1.2.4, I created a package to create a user that is set to automatically login. My standard workflow has been to install this as part of a Casper policy that is called during the first boot after being reimaged with DeployStudio. I've not had any luck getting the automatic login to work, though the user account is created.

My attempts at troubleshooting have revolved around installing the package while the computer is sitting at the login window (a couple of attempts at installing while a user was logged in went without issue). At this point I've had intermittent results trying installation through Casper, SSH'ing in and installing locally, and other methods. When it doesn't work, I've noticed that the autoLoginUser key is written properly during install, but once the computer is rebooted, that key is mysteriously gone. Do you have any idea why this might be or any other troubleshooting I should undertake?

Thanks! Eric

MagerValp commented 10 years ago

Double check the permissions on /Library/Preferences/com.apple.loginwindow.plist:

http://www.deploystudio.com/Forums/viewtopic.php?id=2320

Closing as this isn't a bug in CreateUserPkg, but feel free to ask us in ##osx-server or on MacEnterprise.