Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created December 24, 2017 01:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtrouton/0087ea6eec19b3e66675095c1e2d8216 to your computer and use it in GitHub Desktop.
Save rtrouton/0087ea6eec19b3e66675095c1e2d8216 to your computer and use it in GitHub Desktop.
pycreateuserpkg options
Required User Options:
-n NAME, --name=NAME: User shortname. REQUIRED.
-u UID, --uid=UID: User uid. REQUIRED.
-p PASSWORD, --password=PASSWORD: User password. REQUIRED.
Note: If the password option is not selected, you will be prompted for a password for
the account during the package creation process.
Required Package Options:
-V VERSION, --version=VERSION: Package version number. REQUIRED.
-i IDENTIFIER, --identifier=IDENTIFIER: Package identifier. REQUIRED.
Optional User Options:
-f FULLNAME, --fullname=FULLNAME: User full name. Optional.
-g GID, --gid=GID: User GID, otherwise known as a group identifier. 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment