Thanks for the tip.
I set that up to change the uid, but now when I boot up, the user isn’t hidden from the login window or the accounts pane.
I checked com.apple.loginwindow, and it doesn’t have the proper values set. Perhaps I made a mistake in editing the postflight script inside createUser.pkg?
Here’s what I did:
[code]if [ $hide_user -eq 1 ]; then
/usr/bin/defaults write “${TARGET_DIR}/Library/Preferences/com.apple.loginwindow” HiddenUsersList -array $shortname
/usr/bin/defaults write “${TARGET_DIR}/Library/Preferences/com.apple.loginwindow” Hide500Users -bool TRUE
fi[/code]
Let me know if I did anything incorrectly.
Thanks!
Jason
Comments are closed