cancel
Showing results for 
Search instead for 
Did you mean: 

How to change cockpits default passwords.

sri_kanth19
Explorer
0 Kudos

HI

I want to change the hmc and hAC default password for one my project, so for this what are all the steps we need follow.

Thanks in advance

Regards Srikanth.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Srikanth, the default login for the hMC and cockpits are controlled by properties that you can specify in the local.properties. For example, the hMC can be configured using:

 hmc.default.login=admin
 hmc.default.password=nimda

The settings for the HAC are unfortunately not configurable, see https://jira.hybris.com/browse/PLA-13167.

former_member632755
Active Contributor
0 Kudos

Hi,

you can do it via impex. For example:

 $passwordEncoding=md5
 $defaultPassword=1234
 $setPassword=@password[translator=de.hybris.platform.impex.jalo.translators.ConvertPlaintextToEncodedUserPasswordTranslator][default='$passwordEncoding:$defaultPassword']
 
 INSERT_UPDATE Employee;UID[unique=true];backOfficeLoginDisabled[default='false'];$setPassword;sessionLanguage(isocode)[default='en'];sessionCurrency(isocode)[default='EUR'];groups(uid)[default='admingroup'];
 ;myUser;

Of course you may need separate strategy to make it really secure and not to disclose the passwords in any way. A good starting poin to read would be this document.

Cheers, Wojtek