[Casper] Issues with Time machine script.

Eric Young eyoung at thayer.org
Tue Jul 15 07:56:23 PDT 2008


oh excellent.  It is currently set per user... and as after.  I will  
adjust this.



--------------------------------------------------------------------------------------------
I must not fear. Fear is the mind-killer.
Fear is the little-death that brings total obliteration.
I will face my fear. I will permit it to pass over me and through me.
And when it has gone past I will turn the inner eye to see its path.
Where the fear has gone there will be nothing.
Only I will remain.
--Bene Gesserit Litany (Frank Herbert)
--------------------------------------------------------------------------
Eric Young
eyoung at thayer.org



On Jul 15, 2008, at 10:03 AM, Leacy, Miles wrote:

> Two tips:
>
> Make sure that in your configuration, this script is set to run “At  
> reboot” rather than “before” or “after”.  If you run the script  
> “after”, you’re running it on the utility drive you're booted to  
> during the imaging process.  “At reboot” will add your script to the  
> Casper first run script which will be executed the first time you  
> boot the newly imaged system.
> You can simplify your script to:
> defaults write /Library/Preferences/com.apple.TimeMachine  
> DoNotOfferNewDisksForBackup -bool YES
>
> This will put the setting in the /Library folder, which is applied  
> to all users.
>
> Hope this helps.
>
> On 7/15/08 9:37 AM, "Eric Young" <eyoung at thayer.org> wrote:
>
>> First off, hello all.  Casper n00b here.
>>
>>
>> I have a script that is supposed to set a defaults write for that  
>> annoying time machine message whenever you plug in a drive.  it  
>> does not seem to be working for me when it is deployed with an  
>> image.  does it have to go as a separate login/logout policy  
>> instead?  Find the text of the script below.
>>
>>
>>
>> #!/bin/sh
>>
>> /usr/bin/defaults write /Network/Servers/student.thayer.org/Volumes/ 
>> STUHOMEDIR/STUDENTHOME/$3/Library/Preferences/com.apple.TimeMachine  
>> DoNotOfferNewDisksForBackup -bool yes
>>
>> /usr/bin/defaults write /Network/Servers/faculty.thayer.org/Volumes/ 
>> FACHOMEDIR/FACULTYHOME/$3/Library/Preferences/com.apple.TimeMachine  
>> DoNotOfferNewDisksForBackup -bool yes
>>
>> /usr/bin/defaults write /Users/$3/Library/Preferences/ 
>> com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool yes
>>
>>
>>
>>
>>
>> --------------------------------------------------------------------------------------------
>> I must not fear. Fear is the mind-killer.
>> Fear is the little-death that brings total obliteration.
>> I will face my fear. I will permit it to pass over me and through me.
>> And when it has gone past I will turn the inner eye to see its path.
>> Where the fear has gone there will be nothing.
>> Only I will remain.
>> --Bene Gesserit Litany (Frank Herbert)
>> --------------------------------------------------------------------------
>> Eric Young
>> eyoung at thayer.rog
>>
>>
>>
>>
>>
>> _______________________________________________
>> Casper mailing list
>> Casper at list.jamfsoftware.com
>> http://list.jamfsoftware.com/mailman/listinfo/casper
>
> -- 
> Miles Leacy
> Senior Mac Technologist
> ACTC|ACSA|ACT|CCA
> Polo Ralph Lauren
> 212-318-7603
> miles.leacy at poloralphlauren.com
> <image.png>
>
> This message and any attached documents contain information which  
> may be confidential, subject to privilege or exempt from disclosure  
> under applicable law. These materials are intended only for the use  
> of the intended recipient. If you are not the intended recipient of  
> this transmission you are hereby notified that any distribution,  
> disclosure, printing, copying, storage, modification or the taking  
> of any action in reliance upon this transmission is strictly  
> prohibited. Delivery of this message to any person other than the  
> intended recipient shall not compromise or waive such  
> confidentiality, privilege or exemption from disclosure as to this  
> communication. If you have received this communication in error,  
> please immediately notify the sender and delete the message from  
> your system.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080715/325f1f02/attachment.html 


More information about the Casper mailing list