macmule.com
How To: Delete The Currently Logged In Users Login.Keychain & Then Logout Or Prompt To Logout
The below will delete the currently logged in users login.keychain, if the $logoutPrompt is set to Y then it will bring up the standard OSX logout prompt, else it will kill the loginwindow process …