First, please enable the domain option "Domain > Settings > General Settings > Password & Security > Need to change the password on the first logon", also enable the option "Edit user -> General -> User can change their password" for all the user accounts.
And then execute the following Lua script under "Web admin -> Administration -> Console" (replace the string "YourDomainName" into your own domain name):
- Code: Select all
local domain = "YourDomainName"
local userlist = Split(c_GetUserList(domain), "\n")
for _,username in pairs(userlist) do