Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create user path #10

Open
damacguy opened this issue Jan 18, 2018 · 4 comments
Open

Create user path #10

damacguy opened this issue Jan 18, 2018 · 4 comments

Comments

@damacguy
Copy link

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?

@gregneagle
Copy link
Owner

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...

@swy
Copy link

swy commented Oct 30, 2018

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.

@gregneagle
Copy link
Owner

-H specifies the home path. It doesn't create it if it doesn't exist.

@OldManWarren
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants