Change desktop picture screensaver

broken image

#sudo -u $user defaults -currentHost write PrefsVersion -int 100 #sudo -u $user defaults -currentHost write CleanExit -string 'YES' OsMajor=$(sw_vers -productVersion | awk -F'.' '') User=`ls -l /dev/console | cut -d ' ' -f 4`

broken image

# Get user logged into console and put into variable 'user' You can change that location and folder if you want, you just need to change it in the script: #!/bin/sh The perquisite for this is that you create a folder named 'screensaver' in the /Library/Application Support/JAMF/bin/ location, and put your screensaver(s) file there. This is a script that I use in my enviorment for that. Setting a screensaver is more complicated than you might think.

broken image