Open ghost opened 11 years ago
What specific feature is missing if you generate a package that creates a user named e.g. "MyGuest" with CreateUserPkg?
A guest type account has specific properties in OSX . The main benefit for us is that the user home directory is deleted once the user logs out or reboots. OSX prompts with a message explaining this, which makes it ideal for machines in public locations or kiosks logout message reboot message shutdown message
OK so the actual missing piece is a checkbox that sets dsAttrTypeNative:_guest to true?
actually all the extra dsAttrTypeNative attributes are necessary. Each OS X version requires different ones. Plus the system.keychain trick on anything >10.6 to work around the kerberos key generation.
Because of the target specific version I am not sure whether it is doable to add this feature with the current approach.
Interesting. In that case no, the current approach with deploying plists won't work.
I would like to have the option to create a guest account using CreateUserPkg. In some environments might be useful to create a custom guest account so that the user data is deleted on logout.
Currently I am doing this using a postflight script . The script is very raw but I think it should be easy to include the feature in the app
Noel