From d1a51e8340a74e7803cb808f7ff8a7bf959759c1 Mon Sep 17 00:00:00 2001 From: smizrahi Date: Mon, 17 Jul 2023 11:07:43 +0200 Subject: [PATCH] feat(core): Add in user settings to force password change for a user when logging - update documentation --- Documentation/SOGoInstallationGuide.asciidoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/SOGoInstallationGuide.asciidoc b/Documentation/SOGoInstallationGuide.asciidoc index 8b7bf8ab6..99d2dd9d9 100644 --- a/Documentation/SOGoInstallationGuide.asciidoc +++ b/Documentation/SOGoInstallationGuide.asciidoc @@ -2840,6 +2840,21 @@ The _cronjob_ should look like this: 0 0 * * * sogo /usr/sbin/sogo-tool update-autoreply -p /etc/sogo/sieve.creds ---- +_Password_ — Force user password change at login +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The following commands force user to change his password at login : + +---- +/usr/sbin/sogo-tool user-preferences set settings [USER] ForceResetPassword 1 +---- + +Disable : + +---- +/usr/sbin/sogo-tool user-preferences unset settings [USER] ForceResetPassword +---- + Managing User Accounts ----------------------