François Cami via FreeIPA-users wrote:
Hi,
On Wed, Apr 17, 2019 at 4:33 PM mustafa taha via FreeIPA-users
<freeipa-users(a)lists.fedorahosted.org> wrote:
>
> Hi
>
> i want to ask , if there a way allows the admin to provide an account with
password expired after certain of time. and after a certain time the password
will not valid .
> i see there is field named " Password expiration" , how can i control it
for specified user ?
"ipa help commands" would list all the commands you can use.
I think what you want to achieve can be done with:
"ipa user-mod LOGIN --password-expiration=DATETIME"
Or if you want the account to be not usable at all after a certain date
use --principal-expiration=DATETIME.
rob