I'm running Mac OS X 10.7.5. In previous versions of MacOS X, there would be a guest account created from a template when a guest wanted to use the computer, and then the files would be destroyed upon logout. If I remember correctly, the user was also sandboxed so they couldn't access any of the other files (this may be wrong).
In any case, I'm using FileVault2 on my MacBook Air. I still want to provide guests access to our computer, but the current guest mode is deficient in the following ways:
It doesn't run at native resolution. Instead of 1920x1080, it runs at something lower.
It doesn't auto-connect to my wifi network. This means my guest has to re-enter credentials every time they login.
It does a reboot and then logs in. I realize this is a security measure in case the computer gets stolen.
So my first question is this: Is there a way to modify the default guest experience to run at native video resolution and remember wifi connected networks? I'm quite comfortable with the command line. I used to edit the template in "/System/Library/User Template/" to achieve the effects I wanted in the default guest.
If not, my next option is to create my own "guest" user. I'd like to use a logout hook (I googled it). Are there suggestions on how to configure this 'guest' account? One question I have is what would be an appropriate group to assign this temporary user too. I'd also like to invoke similar templating behavior on login and logout. Is it possible to invoke the login/logout script on a per user basis? Or does the script itself need to incorporate this logic? (i.e. do I need a
if [-user 'temp'] blah blah).