Massive change users exp.date
-
Hi guys
I have about 200 users who have a common expiration date (of the account, not of the associated certificate)
that I would like to extend without recreating the user: exist the possibility to do it from script / cli?
I was thinking of a backup of the 'system' only and changing the 'expires' field in the xml and its restore but it is a procedure that I have never done and it is the second thing that came to my mind after a possible script from cli (if feasible)thanks for the support
-
You certainly could do it by editing the users in the config and restoring that section. It is, of course, very easy to typo something there rendering the config invalid so be sure to have a full back of the working config and a plan to restore it if you choose to do that.
Steve
-
if there are no other alternatives to edit xml file exported, e.g. with 'sed' command directly from the console, I can try only this way
best regards, thanks!