[Casper] casper to delete "login" keychains emmass

Eric Young eyoung at thayer.org
Thu Apr 2 07:19:27 PDT 2009


not a casper solution and it will need more testing to be sure but....

I have been using the new folder redirection addition to WGM to deal  
with user caches (we are all networked users here) and more recently  
to try to work through the /user/font/ logout issues (crashes, kernel  
panics @ logout when there are fonts in that folder) .  It dawned on  
me that a logout redirect to delete the file at the path for the  
login.keychain would work.  It seems to.


----------------------------------------------------------------------------------------------
Eric Young
eyoung at thayer.org
781-664-2286 Work

I am among those who think that science has great beauty. A scientist  
in his laboratory is not only a technician: he is also a child placed  
before natural phenomena which impress him like a fairy tale.
   - Marie Curie


On Apr 2, 2009, at 10:03 AM, Miles Leacy wrote:

> A logout policy will do the same thing, you'll just need to use the   
> explicit paths rather than the relative ones.
>
>
>
>
>
> 2009/4/2 Eric Young <eyoung at thayer.org>
> Rats now I need to dig into logout hooks.... the simplest answers  
> always lead to more reading :-)
>
>
>
>
> --------------------------------------------------------------------------------------------
> 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 Apr 2, 2009, at 8:49 AM, Criss Myers wrote:
>
>> Hi
>>
>> Yes i use a logout.hook to delete the keychain, this solves the  
>> problem,
>>
>> The login keychain is unlocked at login so if the user changes the  
>> password after login this has no effect on the keychain, then  
>> delete the keychain at logout so that next time the user logs in a  
>> new chain is created with their new password,
>>
>> add this to your logout hook
>>
>> ################################
>>
>> #Delete the Users Keychain
>>
>> echo Removing keychain
>>
>> rm ~/Library/Keychains/login.keychain
>>
>>
>> #record this will a log file
>>
>> touch ~/Library/Login/Reset.rft
>>
>> echo "Done"
>>
>>
>> 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
>>
>
>
> _______________________________________________
> 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/20090402/32ee682a/attachment.html 


More information about the Casper mailing list