Hi,

On Tue, Feb 7, 2023 at 4:49 PM <phiroc@free.fr> wrote:
Hi Florence,
unfortunately,

ipa user-mod user1 --krbpasswordexpiration='2024-06-28 07:49:37Z'
Usage: ipa [global-options] user-mod LOGIN [options]

ipa: error: no such option: --krbpasswordexpiration

My bad, I copied the attribute name instead of the CLI option name. Can you try with
ipa user-mod LOGIN  --password-expiration=DATETIME

Note: if you type ipa user-mod --help you can see all the available options.
flo
--

ipa --version
VERSION: 4.5.4, API_VERSION: 2.228



----- Mail original -----
De: "Florence Blanc-Renaud" <flo@redhat.com>
À: "FreeIPA users list" <freeipa-users@lists.fedorahosted.org>
Cc: phiroc@free.fr
Envoyé: Mardi 7 Février 2023 16:40:11
Objet: Re: [Freeipa-users] password-expiration




Hi,



On Tue, Feb 7, 2023 at 4:11 PM None via FreeIPA-users < freeipa-users@lists.fedorahosted.org > wrote:


Hello,
in FreeIPA 4.5.4, how do you reset a user's password expiration date?



IIRC the command "ipa user-mod LOGIN --krbpasswordexpiration=DATETIME was already available in that version.
flo



Many thanks.
Best regards,
Philippe
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue