Hi Sebastian,
The value is inserted directly into the database so there's no configuration file involved.
You can check the current value by running, sudo resutil configget -key password.user_lifetime_in_days.
If no value has been set previously, you will not get a figure returned. If you change the value and then want to delete that value, you can run, sudo resutil configset --delete -key password.user_lifetime_in_days.
Once the value is deleted, the code will revert to it's default settings.
------------------------------
BEN WILLIAMS
------------------------------
Original Message:
Sent: Thu September 30, 2021 02:55 AM
From: Sebastian Wong
Subject: Backup before Password Expiration Policy change.
Hi All,
I'm trying to follow the instruction below to change the password expiration policy. Just wondering if there's a way to do a backup of the current config (default) before implementing the change.
Password and API key expiration
Will there be a .conf file or is there a command to run?
Thank you!
------------------------------
Sebastian Wong
------------------------------