|
|
(16 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
| '''topic''' kurze Beschreibung
| | == occ == |
| == Beschreibung == | | user |
| == Installation ==
| | user:add adds a user |
| == Anwendungen ==
| | user:add-app-password Add app password for the named user |
| === Fehlerbehebung ===
| | user:delete deletes the specified user |
| == Syntax ==
| | user:disable disables the specified user |
| === Optionen ===
| | user:enable enables the specified user |
| === Parameter ===
| | user:export Export a user. |
| === Umgebungsvariablen ===
| | user:import Import a user. |
| === Exit-Status ===
| | user:info show user info |
| == Konfiguration ==
| | user:lastseen shows when the user was logged in last time |
| === Dateien ===
| | user:list list configured users |
| == Sicherheit ==
| | user:report shows how many users have access |
| == Dokumentation ==
| | user:resetpassword Resets the password of the named user |
| === RFC ===
| | user:setting Read and modify user settings |
| === Man-Pages ===
| | |
| === Info-Pages ===
| |
| == Siehe auch == | | == Siehe auch == |
| == Links ==
| | # [[Nextcloud/AccountRetention]] |
| === Projekt-Homepage ===
| | [[Kategorie:Nextcloud/Konfiguration]] |
| === Weblinks ===
| |
| === Einzelnachweise ===
| |
| <references />
| |
| == Testfragen ==
| |
| <div class="toccolours mw-collapsible mw-collapsed">
| |
| ''Testfrage 1''
| |
| <div class="mw-collapsible-content">'''Antwort1'''</div>
| |
| </div>
| |
| <div class="toccolours mw-collapsible mw-collapsed">
| |
| ''Testfrage 2''
| |
| <div class="mw-collapsible-content">'''Antwort2'''</div>
| |
| </div>
| |
| <div class="toccolours mw-collapsible mw-collapsed">
| |
| ''Testfrage 3''
| |
| <div class="mw-collapsible-content">'''Antwort3'''</div>
| |
| </div>
| |
| <div class="toccolours mw-collapsible mw-collapsed">
| |
| ''Testfrage 4''
| |
| <div class="mw-collapsible-content">'''Antwort4'''</div>
| |
| </div>
| |
| <div class="toccolours mw-collapsible mw-collapsed">
| |
| ''Testfrage 5''
| |
| <div class="mw-collapsible-content">'''Antwort5'''</div>
| |
| </div>
| |
| | |
| [[Kategorie:Entwurf]] | |
| | |
| == Account retention ==
| |
| * formerly User retention
| |
| * Accounts are deleted when they did not log in within the given number of days.
| |
| * This will also delete all files and other data associated with the account.
| |
| * Different retention possible for normal accounts and accounts of the guests app
| |
| * Exclude accounts based on group memberships (default: admin group)
| |
| * Exclude accounts that never logged in (default: enabled)
| |
| | |
| [[File:nextcloudBenutzeraufbewahrung.png|nextcloudBenutzeraufbewahrung.png]]
| |
| | |
| === Accounts that never logged-in ===
| |
| By default, accounts that have never logged in at all, will be spared from removal. To also take them into consideration, set the config flag accordingly:
| |
| occ config:app:set user_retention keep_users_without_login --value='no'
| |
| In this case the number of days will start counting from the day on which the account has been seen for the first time by the app (first run of the background job after the account was created).
| |
| | |
| === Example ===
| |
| Retention set to 30 days:
| |
| {| class="wikitable"
| |
| !Account created
| |
| !Account logged in
| |
| !<code>keep_users_without_login</code>
| |
| !Cleaned up after
| |
| |-
| |
| |7th June
| |
| |14th June
| |
| |yes/default
| |
| |14th July
| |
| |-
| |
| |7th June
| |
| |14th June
| |
| |no
| |
| |14th July
| |
| |-
| |
| |7th June
| |
| | -
| |
| |yes/default
| |
| | -
| |
| |-
| |
| |7th June
| |
| | -
| |
| |no
| |
| |7th July
| |
| |}
| |
| | |
| === Reminders ===
| |
| It is also possible to send an email reminder to accounts (when an email is configured). To send a reminder '''14 days after''' the last activity:
| |
| occ config:app:set user_retention reminder_days --value='14'
| |
| You can also provide multiple reminder days as a comma separated list:
| |
| occ config:app:set user_retention reminder_days --value='14,21,28'
| |
| ''Note:'' There is no validation of the reminder days against the retention days.
| |
| | |
| | |
| https://github.com/nextcloud/user_retention
| |
| [[Kategorie:Nextcloud:Verwaltung]] | |
occ
user
user:add adds a user
user:add-app-password Add app password for the named user
user:delete deletes the specified user
user:disable disables the specified user
user:enable enables the specified user
user:export Export a user.
user:import Import a user.
user:info show user info
user:lastseen shows when the user was logged in last time
user:list list configured users
user:report shows how many users have access
user:resetpassword Resets the password of the named user
user:setting Read and modify user settings
Siehe auch
- Nextcloud/AccountRetention