hashbang / provisor

A unix shell creation API in Python
http://hashbang.sh
MIT License
7 stars 10 forks source link

Provisor

Python library for provisioning and managing Linux users and SSH Public Keys across one or more servers via a central LDAP database.

Dependencies

Setup

  1. Setup LDAP schema

    ldapmodify \
      -h ldap.example.com \
      -D "cn=admin,cn=config" \
      -w ROOT_PASS \
      -a ldif/schema.ldif
  2. Setup LDAP Units

    ldapmodify \
      -h ldap.example.com \
      -D "cn=admin,dc=example,dc=com" \
      -w ADMIN_PASS \
      -a ldif/base.ldif
  3. Install library

    pip install provisor

Usage

TODO