How to change admin password in Hybris
In Hybris, whenever we log into HAC/HMC/Backoffice/cockpit we mostly use Admin credentials.
HMC login as below
We provide default user name as “admin” and default password as “nimda”
It’s advisable to change this default password for Admin due to security reasons
How to change default password for Admin?
As we all know that Admin is an Employee who belongs to Admin Group.
We can change the password for Admin through impex or from backoffice directly by finding Admin employee.
Steps to change Admin password through impex are as follows
Step 1
Create impex
- # Change admin password
- UPDATE Employee;UID[unique=true];password
- ;admin;1234
# Change admin password UPDATE Employee;UID[unique=true];password ;admin;1234
Step 2
Run this impex in HAC after log into the HAC using default password
In the above impex, I have changed the default password for admin from nimda to 1234.
Now whenever admin wants to login to hybris system, password 1234 should be used.
Note:
We can configure this impex to run during initialization or update system, check this article for more details.
Can you please provide information on backoffice customization.
I am getting the NullpointerException while calling the populator.
Example Code:
final AddressModel model = new AddressModel();
final AddressData data = new AddressData();
model.setName(“MSD”);
orderPopulator.populate(model,data);//here i am getting the NullPointerException
Your help will be more appriciated