Prompt and dynamically create user
Issue #622
new
No description provided.
Comments (2)
-
reporter -
reporter - changed milestone to future
- Log in to comment
MDS doesn't currently dynamically create a user at install time, but it would be a relatively easy feature to add
5:00 PM
it is possible to use the pycreateuserpkg. their is a macos compiled command line tool that creates a package, then you could install it
5:00 PM
it is a round about way to do it, but greg neagle has a ton of logic and options for edge cases
5:03 PM
in fact, MDS has the binary inside it
5:03 PM
look at /Applications/MDS.app/Contents/Resources/pycreateuserpkg/pkg_scripts/createuser
5:04 PM
it is used by the package installer to just pass a OD plist to it and then it creates the user
5:04 PM
so have your script insert the username into a preset plist then run that binary on it, and it should create the user (edited)