Thank you. Your hints got me to the correct table.
I new it could be done. Didn't see that table and setting.
Got it working in a few minutes.
Original Message:
Sent: Jun 15, 2022 02:53 AM
From: Vince Baker
Subject: HowTo programmatically set the Account Never Expires check box.
internal_user -> expiration
Note below that I set my admin to "No Expiry", but my vbaker user to expire (and the date is actually past expiry)
mysql> select login,password_expiry,expiration from internal_user;
+--------+-----------------+---------------+
| login | password_expiry | expiration |
+--------+-----------------+---------------+
| admin | 1661962713230 | -1 |
| vbaker | 1663058836736 | 1655275640543 |
+--------+-----------------+---------------+
2 rows in set (0.01 sec)
------------------------------
Principal Architect
Apiida AG
https://www.apiida.com
Original Message:
Sent: Jun 14, 2022 10:56 AM
From: Mark Stewart
Subject: HowTo programmatically set the Account Never Expires check box.
No hints?
I am going to create a support ticket for this if no one chimes in with suggestions.
Original Message:
Sent: Jun 09, 2022 06:07 PM
From: Mark Stewart
Subject: HowTo programmatically set the Account Never Expires check box.
I need to know how to check the Account Never Expires checkbox for the admin user.
After upgrade to GW 10.0-CR04 we have our admin account expiring. (checkbox unchecked)
Need to know how to programmatically on CLI or in MySQL to check this box so the expired account will work again w/o logging into Policy Manager over and over to unlock.
I figured out how to reset the fail_count and set state ACTIVE or INACTIVE but cannot figure out where the Account Never Expires setting is stored.
Hints would be appreciated.
Respectfully,
Mark