Hey, does anyone know how I can change password fo...
# troubleshoot
a
Hey, does anyone know how I can change password for datahub root user (I deployed using EKS and helm charts)?
g
What about changing the user.props file?
a
I'm trying this, but docs says:
The 'datahub' admin user is created for you by default. There is no way to override the default password for this account following the steps outlined above to add a custom user.props file. This is due to the way the authentication setup is working - we support a "default" user.props containing the root datahub user and a separate custom file, which does not overwrite the first.
And "what's above" is a procedure to change user.props so it's kinda contradicting it.
Have you tried doing this?
Ok, I deployed using user.props, but now two passwords work
Default one and the one I defined.
Do you know how can I change this behaviour?
i
Hey Filip, The admin user is created in
datahub-frontend/conf/user.props
The documentation you linked to is for regular users
a
So from what I understand, configuration should be like this?
Copy code
extraVolumes:
    - name: datahub-users
      secret:
        defaultMode: 0444
        secretName:  datahub-users-secret
  extraVolumeMounts:
    - name: datahub-users
      mountPath: datahub-frontend/conf/user.props
      subPath: user.props
Is this correct?
i
Something like that yes
w
Thanks all, that change worked for me