You can perform it through Developer Console by using the below code:
List<User> userList = new List<User>();
userList = [SELECT Id from User WHERE Id ='00541000000gUBq'];
for (User u : userList)
{
System.setPassword(u.Id, 'test!123');
System.debug('DONE: ' + u.Id);
}
Make sure to change the condition that suits your case and also note that you can't simply default to 'Test' as this doesn't meet Salesfoce password requirement.
Make sure to change the condition that suits your case and also note that you can't simply default to 'Test' as this doesn't meet Salesfoce password requirement.
https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/admin_password.htm
Thanks!