mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 03:38:23 +00:00
- Rename all docker-compose.yml templates to compose.yml - Update override and CA override filenames accordingly - Adjust compose wrapper, lookup plugins, filters and path helpers - Update roles, tasks, handlers and scripts to use compose CLI - Rewrite documentation and admin guides to reference compose - Update unit and integration tests to expect compose.yml - Keep internal variable keys for backward compatibility where needed https://chatgpt.com/share/69870272-b168-800f-84c3-6417398e441f
982 B
982 B
User Administration
List Users
compose exec -it -u www-data application php occ user:list
Get User Info
compose exec -u www-data application php occ user:info {{username}}
Sync Users
compose exec -it -u www-data application php occ user:sync
Create user via CLI
compose exec -it -u www-data application php occ user:add {{username}}
Make user admin via cli
compose exec -it -u www-data application php occ group:adduser admin {{username}}
Delete user via CLI
compose exec -it -u www-data application php occ user:delete {{username}}
Delete all User (if no ldap is used)
for user in $(compose exec -u www-data application php occ user:list --output=json | jq -r 'keys[]'); do
compose exec -u www-data application php occ user:delete "$user"
done
Identify users which exist still in nextcloud but not in LDAP anymore
occ ldap:show-remnants