Python tool to create macOS packages that create user accounts
Switch branches/tags
Nothing to show
Clone or download
Latest commit 76d33c5 Aug 3, 2018
Permalink
Failed to load latest commit information.
locallibs More licensing info Nov 8, 2017
.gitignore Initial commit Jun 19, 2017
LICENSE.md More licensing info Nov 8, 2017
README.md Update README.md Aug 3, 2018
createuserpkg Add license info to some source code files Nov 8, 2017

README.md

Tool for generating packages that create macOS user accounts on 10.8-10.13

Packages made with this branch can fail to install under the current Mojave betas.
For 10.14, there's a branch you can test here: https://github.com/gregneagle/pycreateuserpkg/tree/od_api

$ ./createuserpkg --help
Usage: createuserpkg [options] /path/to/output.pkg

Options:
  -h, --help            show this help message and exit

  User Options:
    -n NAME, --name=NAME
                        User shortname. Required.
    -u UID, --uid=UID   User uid. Required.
    -p PASSWORD, --password=PASSWORD
                        User password. Required.
    -f FULLNAME, --fullname=FULLNAME
                        User full name. Optional.
    -g GID, --gid=GID   User gid. Optional.
    -H HOME, --home=HOME
                        Path to user home directory. Optional.
    -s SHELL, --shell=SHELL
                        User shell path. Optional.
    -a, --admin         User account should be added to admin group.
    -A, --autologin     User account should automatically login.

  Package Options:
    -V VERSION, --version=VERSION
                        Package version number. Required.
    -i IDENTIFIER, --identifier=IDENTIFIER
                        Package identifier. Required.