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

Eric Young eyoung at thayer.org
Thu Aug 21 07:58:22 PDT 2008


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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080821/3a88c02f/attachment-0001.htm 


More information about the Casper mailing list