I know that there are million ways to make login actions, but I'd like to create actions upon logging out, in particular deleting parts of my home folder. Kind of like the Leopard guest account! Is there a way to do that?
I don't know what is wrong! I have an image of my commands here. [screencast.com]
As you can see, my script is about as simple as it can get. Why is it not deleting the keychain? I want to get rid of it when I log out. Yes I know that there are many workarounds including changing the keychain password and using ssh-agent, but I still want to know how to do this. It's such a simple script! Why is it not executing?
I don't know what is wrong! I have an image of my commands here. [screencast.com]
As you can see, my script is about as simple as it can get. Why is it not deleting the keychain? I want to get rid of it when I log out. Yes I know that there are many workarounds including changing the keychain password and using ssh-agent, but I still want to know how to do this. It's such a simple script! Why is it not executing?