Hi,

On Tue, Feb 7, 2023 at 4:49 PM <[email protected]> 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" <[email protected]>
> À: "FreeIPA users list" <[email protected]>
> Cc: [email protected]
> 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 <
> [email protected] > 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 -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
>
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to