Skip to main content

Simple user management CLI for Active Directory

Project description


ADLeastCLI provides least operations for managing users/groups on Active Directory(AD).

When you want to use an AD for only authentication (i.e. AWS Client VPN with Directory Service), it can manage users/groups with very simple procedure.

And for changing password by each users, very simple web server is implemented. For very limited usage, it can be used for changing password by users without the administrator.


Create a user
$ adleastcli -S user create testuser Password123#

Create a group
$ adleastcli -S group create mygroup

Add the user to the group
$ adleastcli -S user join testuser mygroup

Remove the user from the group
$ adleastcli -S user leave testuser mygroup

Delete a group
$ adleastcli -S group delete mygroup

Delete a user
$ adleastcli -S user delete testuser

List users
$ adleastcli -S user

Show user details
$ adleastcli -S user info testuser

List groups
$ adleastcli -S group

Show group details
$ adleastcli -S group info mygroup

Set password(as administrator)
$ adleastcli -S user setpw testuser NewPass123#

Change password(as a user)
$ adleastcli -S -U testuser user passwd
Enter password for testuser:
Enter new password:
Confirm new password:

Start WebUI server for changing password by oneself
$ adleastcli -S -b httpd


Install the latest release with pip install adleastcli or simply downloading

Installing with pip store adleastcli to your bin path, but it is only copy of If you get with downloading, you can rename it to adleastcli.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for adleastcli, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size adleastcli-0.0.2-py3-none-any.whl (11.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size adleastcli-0.0.2.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page