If you have a client that has lost their Miva admin password, you can reset it quite easily. To do so, do the following.
Miva Merchant 4.x
In /home/$username/mivadata (or where ever they have their mivadata setup)
create a file called pre-provide.dat
In this file, put the following line
MERCHANT|||ACTION|DOMAIN_ADD_UPDATE_USER|,|temp,Hg8nFi!23,Y,Y,N,1000,N
Set the ownership to their username, and the permissions to 755 (rwxr-xr-x). Then go to their Miva admin login page, and login with the following user:
User: temp
Pass: Hg8nFi!23
Once logged in, you can search for their regular admin username, and reset the password on it. After you have done that, you should log out, then login as their regular admin username, and delete the “temp” username that you have created.
Miva Merchant 5.x
In /home/$username/mivadata (or where ever they have their mivadata setup)
create a file called pre-provide.xml
In this file, put the following lines:
<Provision>
–
<Domain>
–
<User_Add>
<Name>temp</Name>
<Password>Hg8nFi!23</Password>
<DefaultPagination>1000</DefaultPagination>
<Administrator>1</Administrator>
<CanCreateUsers>1</CanCreateUsers>
<StartInSimpleMode>0</StartInSimpleMode>
</User_Add>
</Domain>
</Provision>
Set the ownership to their username, and the permissions to 755 (rwxr-xr-x). Then go to their Miva admin login page, and login with the following user:
User: temp
Pass: Hg8nFi!23
Once logged in, you can search for their regular admin username, and reset the password on it. After you have done that, you should log out, then login as their regular admin username, and delete the “temp” username that you have created.