feat(core): Add in user settings to force password change for a user when logging - update documentation

This commit is contained in:
smizrahi
2023-07-17 11:07:43 +02:00
parent bd8b49d2c9
commit d1a51e8340

View File

@@ -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
----------------------