pycreateuserpkg
pycreateuserpkg copied to clipboard
Create user path
I recently swapped to pycreateuserpkg from createuserpkg. With createuserpkg it seems that the user path was created, but pycreateuserpkg doesn't do this. So my "install on restart" packages in Jamf can't install preferences since the path doesn't exist for existing users. Can we add a switch/option to create the default user folders when the pkg is installed?
This is not something I need, so I don't see myself working on it any time soon. Packages created with pycreateuserpkg work when installed to volumes other than the current boot volume; I wonder if it's possible to do the "right thing" as far as creating the user home folder when installing to a volume other than the current boot volume...
I believe I'm seeing the same thing as damacguy: I have a pycreateuserpkg pkg where I defined -H /Users/localadmin
, being installed on 10.14.0. Expected behavior: /Users/localadmin
would be present.
Observed behavior: /Users/localadmin
is not present, multiple errors due to the path being absent when logging in as localadmin.
Install is coming through munki, so it's writing to the current boot volume.
-H specifies the home path. It doesn't create it if it doesn't exist.
I ran into a similar issue with not having the user path created with this build of pycreateuserpkg. In my case I had a post install script that would disable iCloud along with Siri and a couple of other things so that the startup assistant wouldn't "spam" a user with all these pop-ups on first login. I managed to modify my script to create the home folder as well as disable all pop-ups on first login. Feel free to use it or modify for your own purposes @swy. DisableiCloud.txt