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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy