Change passwordexpiry date


hi all, for administrative reasons I need to change the expiry password date but using the command:

udm users/user modify --dn uid=dnofuser --modify passwordexpiry=2018-11-30

the output is:

value may not change.: passwordexpiry

is there any other method to shift the date?

thank you


What is it you wish to achieve?

  • expire date for user account/login
  • password change policy


expire date for user account/login

udm users/user modify --dn uid=dnofuser --set userexpiry=2018-08-23



no, sorry i misunderstood, i need to change the password expire policy.

thank you.


See the manual:
Be aware, that you may have to set the password policy for Samba / Windows clients separately (section 6.3).