[Casper] Changing the default startup/login screen via a policy?

Criss Myers cmyers at uclan.ac.uk
Thu Aug 21 08:23:47 PDT 2008


use this in your com.apple.loginwindow.plist

use a policy to copy the picture you want and then use a defaults write command to set the plist

for users desktop pics i use WGM to set the default desktop picture

<Xxml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>AdminHostInfo</key>
	<string>DSStatus</string>
	<key>DesktopPicture</key>
	<string>/Library/Desktop Pictures/LoginWindow.tif</string>

Criss

Criss Myers
Senior Customer Support Analyst (Mac Services)
Apple Certified Technical Coordinator v10.5
LIS Business Support Team
Library 301
University of Central Lancashire
Preston PR1 2HE
Ex 5054
01772 895054
>>> Eric Young <eyoung at thayer.org> 21/08/08 3:58 PM >>>
I continued to pick at this after posting the question.  The  
DefaultDesktop.jpg is the picture that appears at the log in screen  
(it used to be called Aqua blue pre 10.5) It is an oddball file  
because you cannot just swap it out on a booted system, since it lives  
in CoreServices.  So it has to be renamed (with sudo), then the new  
file needs to be moved in and renamed and set for the right owner and  
permissions.

I setup a policy with two parts.  The first part delivers a payload to  
the regular desktop pictured folder in the /Library folder... you  
could use an existing pic just as easily.  I then have the policy  
execute a script that runs the following CLi commands After the new  
pic is in place then trigger a reboot.


mv /System/Library/CoreServices/DefaultDesktop.jpg  
DefaultDesktop.jpg.OLD
cp /Library/Desktop\ Pictures/tobedefaultdesktop.jpg /System/Library/ 
CoreServices/DefaultDesktop.jpg
chown root:wheel /System/Library/CoreServices/DefaultDesktop.jpg
chmod 644 /System/Library/CoreServices/DefaultDesktop.jpg




Og only knows why this has to be so convoluted...



______-------------------__________---------------_______---------- 
________
Puritanism: The haunting fear that someone, somewhere, may be happy.
   - HL Mencken

Eric Young
eyoung at thayer.org



On Aug 21, 2008, at 10:25 AM, Miles Leacy wrote:

> Why not just FUT & FEU with a desktop background package?
>
> If you replace /System/Library/CoreServices/DefaultDesktop.jpg and  
> make sure the permissions are owned by root:wheel, with -rw-r--r--,  
> is there still a problem?
>
> Sorry if I'm missing something.
>
> On Thu, Aug 21, 2008 at 10:10 AM, Eric Young <eyoung at thayer.org>  
> wrote:
> Has anyone had any luck setting the DefaultDesktop.jpg (the one in the
> core services folder) to something custom?  the manual method is
> rather involved.....
>
>
> thanks
>
>
>
>
>
> ------------------------------------------------
> Those who believe in telekinetics, raise my hand
>     --Kurt Vonnegut
>
> Eric Young
> eyoung at thayer.org
> 781-664-2286 Work
>
>
>
>
> _______________________________________________
> Casper mailing list
> Casper at list.jamfsoftware.com
> http://list.jamfsoftware.com/mailman/listinfo/casper
>




More information about the Casper mailing list