We’re using the GPL version of Virtualmin. I’m now at the point where I need to batch create a bunch of users as they exist on our old server. My challenge is that I have no idea what the user’s passwords are; I do have the hash though.
So, essentially, I think I need to do this in steps:
- use the "create-user.pl" script to create the user, password, full name, and quota, within the domain, obviously.
- use webmin’s batch user update function to modify user’s password to be the same as the hash on the old machine.
Is this the best way to do this, or is there a better way?
PS - also, I notice that many of the .pl scripts mentioned in the documentation don’t exist on my system.