To change the default administrative user's login from "admin" to another value, follow this recipe.
Ensure these steps are performed:
1. Navigate to the OFBiz install directory.
2. If OFBiz is already running, shut it down.
3. Open a command line window.
To create a new administrative user, perform these steps:
1. Type in the following
ant
command whereNewUserLoginName
is the value for the user login identifier:ant load-admin-user-login -DuserLoginId=NewUserLoginName
The
NewUserLoginName
as shown must be less than or equal to 255 ASCII characters in length, and not contain any back or space characters.2. Restart OFBiz.
3. Log in to OFBiz as the administrative user using the new login name as entered in step 1 and using a password of "ofbiz".
4. When prompted to change the administrative user's password, enter the new password or "ofbiz" to maintain the existing value.