0.01
No commit activity in last 3 years
No release in over 3 years
useradd is a pretty cool tool. Unfortunately, Apple didn't think so. This is an attempt to create a wrapper around dscl that behaves like useradd.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

useradd is a pretty cool tool. Unfortunately, Apple didn't think so.

This is an attempt to create a wrapper around dscl that behaves like useradd.

Installation

[$]> gem install osx-useradd

Usage

[$]> useradd --help
Usage: useradd [options] LOGIN
    -b, --base-dir BASE_DIR
    -c, --comment COMMENT
    -d, --home HOME_DIR
    -D, --default
    -e, --expiredate EXPIRE_DATE
    -f, --inactive INACTIVE
    -g, --gid GROUP
    -G GROUP1[,GROUP2,...[,GROUPN]],
        --groups
    -k, --skel SKEL_DIR
    -K, --key KEY=VAUE
    -l, --no-log-init
    -m, --create-home
    -M
    -N, --no-user-group
    -o, --non-unique
    -p, --password PASSWORD
    -r, --system
    -s, --shell SHELL
    -u, --uid UID
    -U, --user-group
    -Z, --selinux-user SEUSER