It would appear that you could just enable or disable the guest account by using defaults write in the /Library/Preferences/com.apple.loginwindow.plist file, but apparently that just changes how it displays in System Preferences > Users & Groups.
There is a lot that goes on behind the scenes, and this script actually does it (almost) all:
rtrouton has another version of this available, too:
Ready for Munki
I took a modified version of that (without the Lion checks) and cut it up to be a nopkg .plist for Munki:
Workaround for Keychain Issue
Now that the keychain issue is "fixed," you have to hit Enter at the password prompt (instead of just logging in right away), but there is no keychain error at least. Props to this JAMF Nation discussion for the workaround for the keychain error.
The only downside is that it gives a keychain error:
I'll have to experiment a bit to see if I can get that error message to not appear.
I recently found our installations of MathType were working on regular and admin accounts on Macs but not on Guest accounts. When I'd log into a guest account, I'd get this error message:
Errors (1) have been written to MathType's log file: Macintosh HD:Users:Guest:Library:Logs:MathType 6.log.
And then looking in the log file, I'd see this:
You must have at least one "symbol" font (e.g. Symbol or Euclid Symbol) and at least one "extra" font (e.g. MT Extra or Euclid Extra)
Oddly enough, the second time launching MathType, the error would no longer appear. Since the Guest account deletes all files when you log out, though, the error would appear again the next time the Guest account logged in.
What I tried that didn't work
- Search for the solution online (no useful results).
- Going into Font Book to check for and resolve enabled duplicate fonts.
- Log in, launch MathType once to get the error and then launch it again and then copy the Guest profile to the User Template.
- Repair permissions.
- Try another computer to see if the problem can be duplicated (it can).
The actual solution
Using an admin account, launch up Font Book.app and in the search filter, search for MT Extra. Find the duplicate and remove (delete) it.
In my case (using Microsoft Office 2011), one was in /Library/Fonts/Microsoft and the other was in /Library/Fonts.
Same deal for Symbol, except I found one in /System/Library/Fonts and the other in /Library/Fonts
Note: in this case of this MathType error, it is not enough to simply disable the duplicate fonts. You actually have to remove the duplicates completely, or MathType will still error out the first time it's launched in the Guest account.