addluser.py is a simple Python app that provides adduser/useradd style functionality. It takes input from the command line and creates an entry in a pre-existing RFC2307-compliant LDAP server.
|Tags||Utilities Systems Administration|
Release Notes: A fix for a Python-LDAP naming issue (now imports from ldap, rather than implicitly _ldap), and password confirmation when adding a new user.
Release Notes: This update to the addluser.py script adds a getsalt() function used by the password creation segment. This is a far better solution than the static salt of previous versions.
Release Notes: UID validity checking, and a new flag, -n, which will check for the next available uid/gid based on an offset. The offset is either the user provided uid/gid on the command line, or the default listed within the code.
Release Notes: This release fixes an issue with how CN defaults were handled and adds a "remove" user feature with the "-r" flag.
Release Notes: Intial release. It works but may not work with your selected password hash for your system. It currently uses standard crypt().