-
Notifications
You must be signed in to change notification settings - Fork 43
Hide from Login Screen #35
Comments
This falls under system configuration and outside of the intent of the package itself, but it could certainly be added to a custom postinstall. Merging with #18. |
Thanks for the update. I have tried adding this to the postflight script, in a very dirty way. The package works when booted into local machine, but seems to fail when used in conjustion with AutoDMG. Any thoughts? |
That's hard to say without seeing the script, but have you checked the usual suspects such as $3? |
I actually hard coded it directly into the postflight script as the last line as: defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add username I think it might be the way I coded it as it must have written that to my own defaults? |
Yes, you have to prepend all paths in a package script with $3, since it contains the volume you're installing to, and be sure to quote it since it can contain spaces:
|
Yes…. The idiot mistake..thank you! Saw the path…. And totally ignored it. Anthony. |
Allow an option to hide the User from the Login Screen if the UID is less than 500. This would enable us to add a totally hidden user. If not feasible for "security" reasons maybe a custom postflight script section where we could add the custom script?
The text was updated successfully, but these errors were encountered: