No description
This commit introduces the ability to add one or more users to a group using the main script. The user is prompted to select this option from the menu, and if chosen, the action/add\_user\_to\_group.sh script is sourced to perform the operation. If an unrecognized choice is made, an error message is displayed and the script exits with a status of 1. |
||
|---|---|---|
| actions | ||
| sources | ||
| fnox.toml | ||
| main.sh | ||
| mise.toml | ||
| README.md | ||
Manage OpenLDAP
Script interactif en Bash pour gérer les utilisateurs OpenLDAP (ajout, suppression).
Prérequis
bashfzf(sélecteur interactif)figlet(génération de bannières)lolcat(couleurs arc-en-ciel)mise(gestion des outils, optionnel)
Installation rapide avec mise :
mise install
Utilisation
./main.sh
Variable
- LDAP_SERVER : exemple.com
- LDAP_BASE_DN : dc=example,dc=com
Un menu interactif s'affiche via fzf permettant de :
- Ajouter un nouvel utilisateur
- Supprimer un utilisateur