Guest Use Login Picture

Morningside
Contributor II

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?

2 REPLIES 2

Hugonaut
Valued Contributor II

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
________________
Looking for a Jamf Managed Service Provider? Look no further than Rocketman
________________


Virtual MacAdmins Monthly Meetup - First Friday, Every Month

Morningside
Contributor II

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.