Posted on 01-25-2019 08:32 AM
Are there any Policies or Config Profiles that will allow me to set the login window pictures for Guest, Other, Root, etc? If not, is this doable via script?
Posted on 01-25-2019 08:45 AM
This is the script I use to set a picture for the user. You can set any path to any user as far as I'm aware, this has worked for me all the way up to Mojave so far! Hope it helps!
Note: I have not tried this with a Guest Account
#!/bin/bash
# Reset User Default Photo JUST incase
#########################################################################################
# Delete the hex entry for jpegphoto
dscl . delete /Users/USERNAMEHERE jpegphoto
dscl . delete /Users/USERNAMEHERE Picture
# Set New Photo
dscl . create /Users/USERNAMEHERE Picture "/PATH/TO/PICTURE/userdefault.jpg"
# Force system to rebuild the caches including local directory
kextcache -system-caches
exit
Posted on 01-25-2019 09:33 AM
Thanks for the comment. Unfortunately, 'Other', and System Administrator never have a directory in the Users folder, and guest only does if they are logged in. Scripts that rely on subdirs within Users will not work for this problem.