defaults -currentHost read com.apple.screensaverWhich will provide the results:
{askForPassword = 1; moduleName = FDEScreenSaver; modulePath = “/usr/local/ppc-3.0.1-142/share/FDEScreenSaver.slideSaver”;}
When you feed information back in, to choose a new screen saver, the moduleName and modulePath (remember those paths in the first paragraph) will be used to specify a new screen saver. Now I’m going to change my screen saver to use the iTunes Album artwork:
defaults -currentHost write com.apple.screensaver modulePath -string “/System/Library/Screen Savers/iTunes Artwork.saver”
If you test it, it now works. For good measure, I’m gonna’ change the moduleName as well, although in my experience I don’t really have to…
defaults -currentHost write com.apple.screensaver moduleName -string “iTunes Artwork”
That askforPassword variable could also be changed. If it is 0 on your machine then your screen saver doesn’t require a password in order to allow you back into your computer. If it is a 1 then it does.