OS X autologin enabler utility based on script from osx-vm-templates
To enable OS X autologin for user:
enable_autologin "username" "password"Note: You may need to chmod +x both the enable_autologin file and the kcpassword file.
When making a Jamf imaging drive, the kcpassword file may need to be copied to /private/etc/kcpassword to properly enable autologin