I have some kiosk machines that need to automatically login on boot, but I can't seem to get my package to work properly at imaging time even though it works once I'm logged into the machine.
I created a package that contains the kcpassword file (permissions are correct) and this postinstall script.
#!/bin/sh
/usr/sbin/jamf createAccount -username ***** -realname ***** -password ***** –home /Users/***** –shell /bin/bash
/usr/bin/defaults write /Library/Preferences/com.apple.loginwindow.plist autoLoginUser *****
/usr/bin/defaults write /Library/Preferences/com.apple.loginwindow.plist autoLoginUserUID ###
This package works as anticipated when pushed through Casper Remote, but not from Casper Imaging, even when deployed at first boot. Anyone have an idea why?
