<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Rats now I need to dig into logout hooks.... the simplest answers always lead to more reading :-)<br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div><div><div><br><br></div><div><br></div><div>--------------------------------------------------------------------------------------------</div><div>I must not fear.&nbsp;Fear is the mind-killer.&nbsp;</div><div>Fear is the little-death that brings total obliteration.&nbsp;</div><div>I will face my fear.&nbsp;I will permit it to pass over me and through me.&nbsp;</div><div>And when it has gone past I will turn the inner eye to see its path.&nbsp;</div><div>Where the fear has gone there will be nothing.&nbsp;</div><div>Only I will remain.&nbsp;</div><div>--Bene Gesserit&nbsp;Litany&nbsp;(Frank Herbert)</div><div>--------------------------------------------------------------------------</div><div>Eric Young</div><div><a href="mailto:eyoung@thayer.org">eyoung@thayer.org</a></div></div></div></div></div><br><br></div></span> </div><br><div><div>On Apr 2, 2009, at 8:49 AM, Criss Myers wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="font-variant: normal; margin-top: 4px; margin-bottom: 1px; margin-left: 4px; line-height: normal; margin-right: 4px; "><div style="margin-top: 0px; margin-bottom: 0px; "><font face="Lucida Grande" size="3">Hi</font></div><br><div style="margin-top: 0px; margin-bottom: 0px; "><font face="Lucida Grande" size="3">Yes i use a logout.hook to delete the keychain, this solves the problem,</font></div><br><div style="margin-top: 0px; margin-bottom: 0px; "><font face="Lucida Grande" size="3">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,</font></div><br><div style="margin-top: 0px; margin-bottom: 0px; "><font face="Lucida Grande" size="3">add this to your logout hook</font></div><br><div style="margin-top: 0px; margin-bottom: 0px; "><font face="Lucida Grande" size="3">################################</font></div><br><div style="margin-top: 0px; margin-bottom: 0px; "><font face="Lucida Grande" size="3">#Delete the Users Keychain</font></div><br><div style="margin-top: 0px; margin-bottom: 0px; "><font face="Lucida Grande" size="3">echo Removing keychain</font></div><br><div style="margin-top: 0px; margin-bottom: 0px; "><font face="Lucida Grande" size="3">rm&nbsp;~/Library/Keychains/login.keychain</font></div><br><br><div style="margin-top: 0px; margin-bottom: 0px; "><font face="Lucida Grande" size="3">#record this will a log file</font></div><br><div style="margin-top: 0px; margin-bottom: 0px; "><font face="Lucida Grande" size="3">touch&nbsp;~/Library/Login/Reset.rft</font></div><br><div style="margin-top: 0px; margin-bottom: 0px; "><font face="Lucida Grande" size="3">echo "Done"</font></div><br><br>Criss&nbsp;Myers<span class="Apple-converted-space">&nbsp;</span><br>Senior&nbsp;Customer&nbsp;Support&nbsp;Analyst&nbsp;(Mac&nbsp;Services)<span class="Apple-converted-space">&nbsp;</span><br>Apple&nbsp;Certified&nbsp;Technical&nbsp;Coordinator&nbsp;v10.5<span class="Apple-converted-space">&nbsp;</span><br>LIS&nbsp;Business&nbsp;Support&nbsp;Team<span class="Apple-converted-space">&nbsp;</span><br>Library&nbsp;301<span class="Apple-converted-space">&nbsp;</span><br>University&nbsp;of&nbsp;Central&nbsp;Lancashire<span class="Apple-converted-space">&nbsp;</span><br>Preston&nbsp;PR1&nbsp;2HE<span class="Apple-converted-space">&nbsp;</span><br>Ex&nbsp;5054<span class="Apple-converted-space">&nbsp;</span><br>01772&nbsp;895054<br><br></div></span></blockquote></div><br></body></html>